Posted on 2012-04-04
I have the following bit of code.
<td align="right" valign="top">
<xsl:for-each select="//GetOrderDetailsInfoResults/LineItem[perf_desc = 'Patron Fee']">
<xsl:value-of select="format-number(sum(key('subli',li_seq_no)/due_amt), '$###,###.00')"/>
This code can return mutiple values. Meaning my display could look like $55.00$10.00
How can I sum all returned rows? In this case, I am looking for $65.00.
Go easy on me, I really have never done anything with xsl and don't know the syntax.