xsl-list
[Top] [All Lists]

Re: [xsl] parameter getting lost in tunnel?

2008-07-22 12:58:42
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...)

Sorry for unnecessary intrusions.

--Tom

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>