RE: [xsl] the sum value. SOS.

Subject: RE: [xsl] the sum value. SOS.
From: Ryan Graham <ryan.graham@xxxxxxxxxxxxx>
Date: Fri, 18 Feb 2005 11:47:06 -0700
sum(//puntuacion_valor)

HTH,
RG
-----Original Message-----
From: Dionisio Ruiz de Zarate [mailto:dionisio@xxxxxxxxxxxxx]
Sent: Friday, February 18, 2005 11:43 AM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] the sum value. SOS.


hello i have the bellow xml.
i am tring to load the sum of some nodes but i cannot load it.

i have some nodes and i wnat to load the sum value:
XML:
....
- <puntuaciones>
- <puntuacion>
   <puntuacion_valor>8</puntuacion_valor>
  </puntuacion>
- <puntuacion>
   <puntuacion_valor>33</puntuacion_valor>
  </puntuacion>
- <puntuacion>
   <puntuacion_valor>28</puntuacion_valor>
  </puntuacion>
  </puntuaciones>..
...

how can i load the sum of the <puntuacion_valor> nodes?

thanks

Current Thread