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

Re: process order (still...)

Subject: Re: process order (still...)
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 13 Apr 2000 13:00:45 -0600 (MDT)
process order
> The ordering that I was trying to stress was different and
> implementation dependent is the `chronological' order in which nodes
> are added to the result tree. That is when the actual templates
> get fired. This may happen in any order, or all at the same time.

Ah, true, but we write stylesheets as if the templates are going to be
instantiated serially. "Add foo to the result tree, add bar to the result
tree, identify this node-set, execute the instructions in the template
that best matches the first node in the set, then the second node, then
the third, etc." If we didn't have rules for ordering, we wouldn't ever be
able to predict what the result tree would look like.

So are we in agreement when I assert that 'the nodes are processed in
document order' really means something more like 'the result tree and/or
result tree fragments created by the templates for these nodes are created
such that the spatial order of the nodes *is as if* the templates had been
instantiated one at a time, for each node in document order' ?

Not that that's any less confusing :)

   - Mike
___________________________________________________________
Mike J. Brown, software engineer, Webb Interactive Services
XML/XSL stuff: http://www.skew.org/    http://www.webb.net/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.