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

[xsl] get the sum of a sequence of numbers


Subject: [xsl] get the sum of a sequence of numbers
From: Karen McAdams <kemcadams@xxxxxxxxx>
Date: Tue, 25 Apr 2006 15:08:42 -0700 (PDT)

I think this should be easy to do but techniques I am using arent working.

I have template that returns the word count of topics that contain language attributes and assigns it to a sequence. T

Problem is that when I want total the numbers stored in the sequence using <xsl:variable name="mbt" select="sum(number($mb))"/> what I get are the numbers concatenated together when what I want is the total sum of the values of numbers of which the list consists.  Suggestions on the correct way to do this in XSL2.0? thanks.
 
--------------------Karen McAdams 


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor