Re: Fwd: Re: [xsl] Xsl:strip-space and xsl:preserve-space (XSLT 2.0)

Subject: Re: Fwd: Re: [xsl] Xsl:strip-space and xsl:preserve-space (XSLT 2.0)
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Sep 2008 17:50:42 +0100
>>>>> "Ken" == G Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> 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

Current Thread