xsl-list
[Top] [All Lists]

[xsl] FOP sum

2006-12-21 17:44:02
Hi!

I need to accumulate and list the total. Can't seem to get it working

I did the following :-

<xsl:value-of select="sum(/ACT/DESC/AMT)"/>

Thanks

Dave

<ACT>
<DESC>
<AMT>
10
</AMT>
</DESC>
<DESC>
<AMT>
15
</AMT>
</DESC>
<DESC>
<AMT>
20
</AMT>
</DESC>
<DESC>
<AMT>
30
</AMT>
</DESC>
</ACT>

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>