Hi Folks,
Is this statement true or false:
XSLT elements that produce output can be
evaluated in any order.
Example: This XSLT produces two outputs:
<xsl:text>Hello</xsl:text>
<xsl:text>World</xsl:text>
Is this statement true or false:
The output will always be "HelloWorld" regardless
of which <xsl:text> element is evaluated first.
Is this explanation correct:
Explanation: the outputs produced by each XSLT element is placed in an
in-memory "result tree." Their position in the result tree depends on the
sequential order of the outputs in the XSLT document. Thus, this XSLT element:
<xsl:text>World</xsl:text>
occurs later in the XSLT document and so therefore it is placed later in the
result tree. After the XSLT transform completes executing then the result tree
is serialized to an output file, in document order, which result in "Hello"
first and "World" second.
/Roger
--~------------------------------------------------------------------
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>
--~--