2008/5/29 Florent Georges <lists(_at_)fgeorges(_dot_)org>:
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/
--~------------------------------------------------------------------
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>
--~--