[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] FOP sum
Subject: [xsl] FOP sum
From: "Dave Dran" <davedran@xxxxxxxxx>
Date: Fri, 22 Dec 2006 08:39:49 +0800
|
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>
|