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:*}
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