I know somebody must have already answered this
question.
I am using sum function with RTF. The declaration of
my RTF is
<xsl:variable name="purchaseTotalLength">
<xsl:for-each
select="exslt:node-set($purchaseTotalcount)/*">
<xsl:copy>
<xsl:copy-of select="@val"/>
</xsl:copy>
</xsl:for-each>
</xsl:variable>
and My intention is to sum all @val values so that I
am using
<xsl:value-of
select="sum(exslt:node-set($purchaseTotalLength))"/>
But the above display gives NAN
I too tried with
<xsl:value-of
select="sum(exslt:node-set($purchaseTotalLength)/*)"/>
but still I got NAN.
Any input?
regards,
Ranjan
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--