[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|