[NTG-context] understanding \xmlsetup

2015-05-10 Thread Pablo Rodriguez
Dear list, to setup the language attribute in div and span elements from HTML, Hans kindly provided me with the following setup: \startxmlsetups xml:lang \begingroup \language[\xmlatt{#1}{lang}] \xmlsetup{#1}{xml:\xmltag{#1}} \endgroup

Re: [NTG-context] understanding \xmlsetup

2015-05-10 Thread Hans Hagen
On 5/10/2015 6:45 PM, Pablo Rodriguez wrote: Dear list, to setup the language attribute in div and span elements from HTML, Hans kindly provided me with the following setup: \startxmlsetups xml:lang \begingroup \language[\xmlatt{#1}{lang}]