JoeMcGarvey
Programmer
I have been reading about sum() to evaluate some (pardon the pun) nodes. I am very confused and cannot get anything working.
Here is my (simplified) XML:
<entity>
<value>55</value>
</entity>
<entity>
<value>7</value>
</entity>
<entity>
<value>18</value>
</entity>
How do I write my XSL to add the <value> nodes to return the total? Do I use "sum()" with a "call-template" and what should that called template look like?
Thanks!!
Here is my (simplified) XML:
<entity>
<value>55</value>
</entity>
<entity>
<value>7</value>
</entity>
<entity>
<value>18</value>
</entity>
How do I write my XSL to add the <value> nodes to return the total? Do I use "sum()" with a "call-template" and what should that called template look like?
Thanks!!