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

Re: Esoteric XSLT/FXSL question

Subject: Re: Esoteric XSLT/FXSL question
From: "Colin Adams" <colinpauladams@xxxxxxxxxxxxxx>
Date: Wed, 28 May 2008 20:13:10 +0100
Re:  Esoteric XSLT/FXSL question
On 28/05/2008, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:
>  This leeway in the spec is good, as it allows good optimization
>  techniques, related or non-related to lazy evaluation. One that
>  immediately comes to mind is parallel application of <xsl:for-each> on
>  many items of the sequence (likely dependent on the available free
>  CPUs in the system)

This is a technical problem - how to do the scheduling. Especially if
you have nested xsl:for-each (or xsl:template).

Of course, this is just a problem for the implementor to overcome. But
there is no obvious best way.

>  with subsequent combination of the results, so that they would be in the desired order.

But this is a really big problem. The XSLT spec. allows
implementations to stream the output.  But this is no longer possible
(to the same extent) if you parallelize an output-producing
xsl:for-each or xsl:template/xsl:apply-templates.

So the problem is to determine when a parallel schedule can prove effective.

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.