[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: text() vs xs:string serialization (was: Re: text extraction)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 12 Oct 2006 15:17:15 +0100
> Am I correct in my understanding that the reason the stylesheet
> below works, separating each item from the <xsl:sequence/> with
> a single whitespace character, is due to
> 
>  http://www.w3.org/TR/xslt-xquery-serialization/#serdm

No. the white space is really added to the tree, not just on
serialisation (if you save the result into a variable and query into it
you will see the spaces are already added even if no serialisation
occurs).

see step 5 in

http://www.w3.org/TR/xslt20/#constructing-simple-content

David

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member