This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Updated Benchmark Available
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Updated Benchmark Available
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 9 Oct 2000 10:24:31 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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