[NTG-context] \xmlrefatt as node?

2021-07-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[test] 1 2 3 \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{#1}{*}{-} \xmlsetsetup{#1}{document|div|p|a}{xml:flushing} \xmlsetsetup{#1}{a}{xml:*}

[NTG-context] xmlrefatt

2018-04-10 Thread dr. Hans van der Meer
There is a slight restriction on \xmlrefatt that makes its use problematic, because it does not differentiate between an absent attribute and an attribute consisting of an empty string. The use for \xmlrefatt I had in mind was (a) do nothing if the attribute is absent, and (b) reset some value