|
Subject: Re: Running totals From: "Oren Ben-Kiki" <oren@xxxxxxxxxxxxx> Date: Tue, 28 Dec 1999 18:11:30 +0200 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Running totals, Jon Smirl | Thread | Re: Running totals, Jon Smirl |
| Re: Running totals, Jon Smirl | Date | Re: Running totals, Steve Tinney |
| Month |