Re: [NTG-context] define macro from xml-attribute

2012-03-16 Thread Hans Hagen
On 16-3-2012 10:25, Meer, H. van der wrote: I would like to accomplish the following in xml processing. and then define the attribute value as a TeX macro. For example, to use this in font switching: Doing this in the following manner does not work: \startxmlsetups namespace \def\macro{\

[NTG-context] define macro from xml-attribute

2012-03-16 Thread Meer, H. van der
I would like to accomplish the following in xml processing. and then define the attribute value as a TeX macro. For example, to use this in font switching: Doing this in the following manner does not work: \startxmlsetups namespace \def\macro{\xmlattdef{#1}{macro}{\empty}} \stopxmlsetups