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

Re: Re: xsl-list Digest 28 May 2008 05:10:01 -0000 Iss

Subject: Re: Re: xsl-list Digest 28 May 2008 05:10:01 -0000 Issue 1511
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 29 May 2008 14:02:35 +0100
Re:  Re: xsl-list Digest 28 May 2008 05:10:01 -0000 Iss
2008/5/29 Florent Georges <lists@xxxxxxxxxxxx>:
> Andrew Welch wrote:
>
>> "the output is "foobar" as the adjacent text nodes "foo" and "bar"
>> are merged by the outer value-of before it applies the seperator"
>
>  The exact verse is in [XSLT20] 5.7.2 Constructing Simple Content
> <http://www.w3.org/TR/xslt20/#constructing-simple-content>:
>
>    2. Adjacent text nodes in the sequence are merged into a
>       single text node.


yeah... the important part is that it's step 2 and occurs before step
5 (where the separators are added)

I wonder what the reason is for merging adjacent text nodes?  Other
than compacting the a tree a little, what purpose does it serve?


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

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.