Re: [xsl] grouping and sum

Subject: Re: [xsl] 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
  • [xsl] grouping and sum
    • dmitrik - Mon, 6 Dec 2004 09:38:23 -0500 (GMT-05:00)
      • David Carlisle - Mon, 6 Dec 2004 14:42:08 GMT <=
      • <Possible follow-ups>
      • dmitrik - Mon, 6 Dec 2004 11:12:49 -0500 (GMT-05:00)
      • dmitrik - Mon, 6 Dec 2004 11:13:13 -0500 (GMT-05:00)
      • dmitrik - Mon, 6 Dec 2004 13:36:12 -0500 (GMT-05:00)