ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \attributedef not working?
@ 2012-03-14 14:24 Meer, H. van der
  2012-03-14 14:38 ` Meer, H. van der
  0 siblings, 1 reply; 2+ messages in thread
From: Meer, H. van der @ 2012-03-14 14:24 UTC (permalink / raw)
  To: ConTeXt NTG


[-- Attachment #1.1: Type: text/plain, Size: 493 bytes --]

Processing xml I get with: \writestatus{************}{\xmlattributedef{#1}{.}{default}{???}}
output: ************    > ???

and \writestatus{************}{\xmlattribute{#1}{.}{default}} has no attribute output

but with: \writestatus{************}{\xmlattdef{#1}{default}{???}}
output: ************    > mydefault

Is something amiss with \xmlattribute and \xmlattributedef?
I need these in order to get an attribute from a node higher up in the xml-tree.

Hans van der Meer




[-- Attachment #1.2: Type: text/html, Size: 1468 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: \attributedef not working?
  2012-03-14 14:24 \attributedef not working? Meer, H. van der
@ 2012-03-14 14:38 ` Meer, H. van der
  0 siblings, 0 replies; 2+ messages in thread
From: Meer, H. van der @ 2012-03-14 14:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1349 bytes --]

Sorry, my fault. Just found out that the attribute sought is residing in another tree. Understandably the attribute is not found when the wrong root is taken. Thus \attributedef does its thing.

Now I have to find out how reference that other tree.

Hans van der Meer



On 14 mrt. 2012, at 15:24, Meer, H. van der wrote:

Processing xml I get with: \writestatus{************}{\xmlattributedef{#1}{.}{default}{???}}
output: ************    > ???

and \writestatus{************}{\xmlattribute{#1}{.}{default}} has no attribute output

but with: \writestatus{************}{\xmlattdef{#1}{default}{???}}
output: ************    > mydefault

Is something amiss with \xmlattribute and \xmlattributedef?
I need these in order to get an attribute from a node higher up in the xml-tree.

Hans van der Meer



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl<mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 4158 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-14 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-14 14:24 \attributedef not working? Meer, H. van der
2012-03-14 14:38 ` Meer, H. van der

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).