xsl-list
[Top] [All Lists]

Re: the sum values

2003-03-04 07:51:22
Hi Dionisio,

with xslt how can i get, and print (<xsl:value-of....), the sum of
the totales values (can be 1 or x values, the number i don't know)?
(7+12+47.....)?

Use the sum() function:

  <xsl:value-of select="sum(/registros/registro/totales)" />

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>