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

Re: [XSL] Accessing part of the result tree illustrate

Subject: Re: [XSL] Accessing part of the result tree illustrated with "The Sudoku solver" example.
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Wed, 5 Sep 2007 13:25:22 +0100
Re:  [XSL] Accessing part of the result tree illustrate
On 9/5/07, David Carlisle <davidc@xxxxxxxxx> wrote:
> Such a construct would only really be useful if you could rely on the
> processor evaluating all the items  in a for-each in order, but that is
> explictly not the case. One of the benefits of a side effect free
> language is that it is naturally parallelisable. It's best to assume
> that all the items in a for-each are evaluated in parallel, and the
> results assembled at the end and passed on. If you view it this way the
> fact that you can't "stop" a for-each based on the processing of one of
> the items should seem far more natural. If you need the processing of
> one item to depend on the result of processing another, don't use
> for-each, use a recursive template that processes the item and then just
> conditionally processes the next item if needed.


In this case the for-each iterates over items in a sequence
(xs:integers), which makes me wonder if the same rule applies?

Is it conceivable for a processor to parallelise the processing of a
sequence of atomic values and then reassemble the results in sequence
order, or does that only apply to nodes and document order?


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

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-2011 All Rights Reserved.