"Ken" == G Ken Holman <gkholman(_at_)CraneSoftwrights(_dot_)com> writes:
Ken> In XSLT 1.0 you could rely on the source document
Ken> white-space-only text nodes to be preserved (except when
Ken> using Microsoft). In XSLT 2.0 you cannot rely on this,
Ken> because the *invocation* of the XSLT processor can change
Ken> whether or not white-space-only text nodes in source
Ken> documents are preserved.
Ken> Note, for example, the invocation of Saxon has the following
Ken> parameter:
Ken> -strip:all|none|ignorable
I can't see any justification for this in the XSLT 2.0 recommendation,
other than the caveat of how a source document is constructed is
outside the remit of the recommendation. That was always the case for
XSLT 1.0 too.
--
Colin Adams
Preston Lancashire
--~------------------------------------------------------------------
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>
--~--