|
Subject: Re: Running totals From: Steve Tinney <stinney@xxxxxxxxxxxxx> Date: Tue, 28 Dec 1999 08:46:58 -0500 |
Have you tried something like: <xsl:value-of select="sum(/elements/element/@value)"/> ? Steve Jon Smirl wrote: > > Is it possible to construct efficient running totals with XSLT? > > I tried a few different schemes but I couldn't come up with one that works. > You can generate a sum of the previous siblings but this gets real slow when > a couple of thousand elements are involved. > > Jon Smirl > jonsmirl@xxxxxxxxxxxx > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list -- ---------------------------------------------------------------------- Steve Tinney Babylonian Section * University of Pennsylvania Museum stinney@xxxxxxxxxxxxx Phila, PA. 215-898-4047 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Running totals, Jon Smirl | Thread | Re: Running totals, Jon Smirl |
| Re: HTML Forms and XSL, Nikita Ogievetsky | Date | Re: Grouping with XSL..., Marcus Groeber |
| Month |