|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Running totals
You can replace the for-each call with a recursive call, and pass the
current running total as a parameter. However this would mean that for 2000
elements you'll get a template call stack 2000 deep... unless the XSLT
processor optimizes tail recursion well. I don't know whether any existing
processor does.
Have fun,
Oren Ben-Kiki
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








