[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: grouping and sum
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 6 Dec 2004 14:42:08 GMT
> how is it possible to group by the Customer Node to retrieve a sum from StepCharge?

the sum of all StepCharge for customer AAA is


<xsl:value-of select="sum(Trade[Customer='AAA']/StepCharge)"/>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member