Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: I need to calculate sum of product of elements >Thread Next - Re: I need to calculate sum of product of elements Re: I need to calculate sum of product of elementsTo: NULL Date: 12/16/2007 2:05:00 AM Hi Martin thanks very much for your help I have a last question. How to choose a range of elements to be added. In the example there are 4 element of the <line> elements. How to choose a range of these elements, say between 2 and 4 so I expect I need something such as: <xsl:value-of select="sum(for $line in csv/line[ choose here the range between 2 and 4 ] return $line/number[1] * $line/number[3])"/> thanks Mahmoud | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
