[xsl] Sum of values from XML

Subject: [xsl] Sum of values from XML
From: Tom T <tomw289@xxxxxxxxxxxxxx>
Date: Thu, 15 Apr 2010 16:07:14 +0100
Given the following XML structure:

<a>
  <b>
    <c>23</c>
    <d>4</d>
  </b>
  <b>
    <c>45</c>
    <d>67</d>
  </b>
</a>

Using XSLT 2 how can I retreive the sum of all the integers at /a/b/c?

thanks

Current Thread