Posted: Sun Nov 23, 2008 11:32 am Post subject: sum of repeating tag values
Newbie
Joined: 23 Apr 2008 Posts: 6
<invoice>
<tdeposit>
<price>100</price>
</tdeposit>
<tdeposit>
<price>200</price>
</tdeposit>
</invoice>
Please give the code to calculate the total amount of 300.
Do i have to use cardinality with SUM FUNCTION OR just SUM function.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum