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

RE: XSLT 2.0: When to use xsl:sequence, when to use x

Subject: RE: XSLT 2.0: When to use xsl:sequence, when to use xsl:value-of, and why?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 17 Jun 2007 00:17:52 +0100
RE:  XSLT 2.0: When to use xsl:sequence
> should produce:
>     <sequence>1a1</sequence>
>     <value-of>1 a 1</value-of>
>   I say "should" because I've really evaluated the example 
> with Saxon and got instead:
>     <sequence>1a1</sequence>
>     <value-of>1 a1</value-of>

Yes, there is indeed a bug here: when the sequence used for evaluating a
simple-content node (such as a text node, attribute node, comment etc)
contains a text node, then one or more atomic values, then another text
node, no space is inserted before the second text node. Thanks for reporting

Michael Kay

Current Thread


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.
First Name
Last Name
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.