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

The output of evaluating an XSLT transform is the same

Subject: The output of evaluating an XSLT transform is the same regardless of the order in which output elements are evaluated. Right?
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Mon, 12 Apr 2010 13:37:16 -0400
 The output of evaluating an XSLT transform is the same
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:


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:


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.


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.