Hi Eugene,
Please find three files "stkmis5.xml","Stkmis5.htm" and stkmis.xsl
I want to get a totalled sum for the nodes "Qty" and "Value" when i open
the stkmis5.htm
I think you want something like this:
<p>Total Qty: <xsl:value-of
select="format-number(sum(/xml/rs:data/z:row/@qty),'#.0000')"/></p>
<p>Total Value: <xsl:value-of
select="format-number(sum(/xml/rs:data/z:row/@value),'#.0000')"/></p>
Cheers,
Anton
BTW: that's a neat example of "dynamic in-browser XSLT". Is this
showSorted javascript function in the public domain? I wish I could find
something like this that would work in Mozilla, too.