one step forward, two back

Conversion of the attribute nodes seems working, although with some glitches. And I traditionally mention namespaces. I decided to have holes in ns processing in the first version.

By the way, what's surprised me most is that in SXML it's possible to store a namespace declaration together with an attribute. Consider the following XML:

<a b:c="d" xmlns:b="u.w.z" />

If we take an attribite, we get:

b:c="d"

loosing information about the "b" prefix. Compare it with SXML where we can carry the attribute together with the namespace:

(@ (b "c") (*NAMESPACES* (b "u.w.z")))
Categories: Generative XML

Updated: