Subject: RE: Updated Benchmark Available
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 9 Oct 2000 10:24:31 +0100
|
> How common is tail recursion in XSLT? It's heavily used in
> Lisp, but Lisp
> also tends to recurse much more deeply; I have the impression
> that in most
> XSLT stylesheets recursion is on the order of the depth of the source
> document... and documents (so far) have tended to grow in breadth more
> rapidly than depth.
I've certainly come across stylesheets that recurse to process a set of
sibling elements: it's the best solution available to a number of grouping
and aggregation problems, e.g. summing price*quantity.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|