xsl-list
[Top] [All Lists]

Re: [xsl] text() vs xs:string serialization (was: Re: [xsl] text extraction)

2006-10-12 07:17:47

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

--~------------------------------------------------------------------
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>
--~--