xsl-list
[Top] [All Lists]

Re: [xsl] Preferred declarative approach for outputting tallies based on complex triggers

2014-04-10 06:21:24
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--