This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Updated Benchmark Available


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]