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

Re: Preferred declarative approach for outputting tall

Subject: Re: Preferred declarative approach for outputting tallies based on complex triggers
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 10 Apr 2014 12:20:53 +0100
Re:  Preferred declarative approach for outputting tall
On 10/04/2014 12:12, David Rudel wrote:
Another method would be to use a recursive function on a sequence:

The new xsl:iterate and friends can be seen (at the definitional level) as syntactic sugar for a recursive function. So at one level these are equivalent but (especially if you plan to use the new streaming features) I would guess (without looking at the source of an XSLT system) that the xsl:iterate is much easier to optimise/stream as identifying a specific xsl construct introduced for that purpose is going to be "slightly easier" than analysing the structure of an arbitrary user supplied recursive function to see if it amenable for streaming or optimisation in any way.




David


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.