Re: [xsl] More addition questions

Subject: Re: [xsl] More addition questions
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 10 Oct 2007 22:18:02 +0100
> I am using Xalan and XSLT 1.0 for the following

since xalan supports exslt:node-set I'd use that which will allow you to
use sum() on the numbers you have already generated.

<xsl:variable name="x">
what you have..
<xsl:copy-of select="$x"/>
  <sum><xsl:value-of select="sum(element)"/></sum>


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

Current Thread