Subject: Re: [xsl] The output of evaluating an XSLT transform is the same regardless of the order in which output elements are evaluated. Right? From: Syd Bauman <Syd_Bauman@xxxxxxxxx> Date: Tue, 13 Apr 2010 08:01:19 -0400 |
Interesting stuff. One way to think of this may be in terms of OPs initial example. Here's a take on it, which I present both as explanation and for correction. <xsl:variable name="hw"> <xsl:text>Hello</xsl:text> <xsl:text>World</xsl:text> </xsl:variable> <xsl:value-of select="$hw"/> An XSLT processor should spit out the string "HelloWorld", but whether it generates that string by * take text node `Hello` take text node `World`, stick it *after* `Hello` OR * take text node `World` take text node `Hello`, stick it *before* `World` is entirely up to the processor.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] The output of evaluating , David Carlisle | Thread | Re: [xsl] The output of evaluating , David Carlisle |
RE: [xsl] The output of evaluating , G. Ken Holman | Date | Re: [xsl] The output of evaluating , David Carlisle |
Month |