[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Usage of sum with RTF


Subject: [xsl] Usage of sum with RTF
From: "Ranjan K. Baisak" <ranjanbaisak@xxxxxxxxx>
Date: Tue, 18 Jan 2005 04:32:37 -0800 (PST)

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 


Current Thread