This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Sum function
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Sum function
- From: "Purnima Shankaran" <purnima at tek-tools dot com>
- Date: Thu, 8 Mar 2001 11:58:26 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
I have an xml like this
<storsys>
<storvol>
<noofblocks>2</noofblocks>
<blocksize>3</blocksize>
</storval>
<storvol>
<noofblocks>4</noofblocks>
<blocksize>5</blocksize>
</storval>
</storsys>
I want to display the total as sum of ( noofblocks * blocksize) for all
<storval> tags present.
Thanks for the help.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list