[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Fwd: Re: Xsl:strip-space and xsl:preserve-space (X

Subject: Re: Fwd: Re: 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
Re: Fwd: Re:  Xsl:strip-space and xsl:preserve-space (X
>>>>> "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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.