[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Usage of sum with RTF

Subject: Usage of sum with RTF
From: "Ranjan K. Baisak" <ranjanbaisak@xxxxxxxxx>
Date: Tue, 18 Jan 2005 04:32:27 -0800 (PST)
 Usage of sum with RTF
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!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.