[Home] [By Thread] [By Date] [Recent Entries]
I didn't follow the whole thread but...
It seems to be a common misunderstanding that <node></node> is different from <node /> in XML. However, when it does matter, for instance to satisfy non-conforming legacy application, workarounds are, in XSLT 1.0, to use a comment node (or, sometimes possible, whitespace like you did) and in XSLT 2.0 to use a character-map (put a private use character inside the node and let it map to an empty string). Cheers, -- Abel -- Tom Schmitter wrote: I now see that xsl:element does not write both the open and close tags unless it has a text node. (and also that my copy-and-add-level-attribute routine is much more screwed-up than I first realized...on to that next...)
|

Cart



