xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] text() vs xs:string serialization (was: Re: [xsl] 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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor