xml attribute trickery possible?
In the xml setup one may call a command on the current node like: \startxmlsetups xam:define:get \xmlcommand{#1}{}{xmlcommon:whatever} \stopxmlsetups The current node will have attributes and these can be used in the execution of the command xmlcommon:whatever. The question is the following: I would like to change/addto the attributes on the current node, for example to supply missing defaults. Is this possible and if yes, how to? Hans van der Meer
On 5/6/2013 1:53 PM, Meer, H. van der wrote:
In the xml setup one may call a command on the current node like:
\startxmlsetups xam:define:get \xmlcommand{#1}{}{xmlcommon:whatever} \stopxmlsetups
The current node will have attributes and these can be used in the execution of the command xmlcommon:whatever. The question is the following: I would like to change/addto the attributes on the current node, for example to supply missing defaults. Is this possible and if yes, how to?
there is no helper for this (one can make one using lua); acting on different values of attributes is often done with the value mapper macros Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Meer, H. van der