Re: [xsl] grouping and sum

Subject: Re: [xsl] grouping and sum
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 6 Dec 2004 16:18:49 GMT
> Is it possible to group the whole xml document by the Customers node
> without hardcoding a specific customer? 

yes see jeni's site.
http://jenitennison.com/xslt/grouping

You may find it easiest not tp try doing grouping and summation all
inone step, but rather o a first pass that just does grouping, then use
easier XPaths that call sum() once all teh nodes that you want to sum
are grouped together.

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)
      • <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)
        • David Carlisle - Mon, 6 Dec 2004 16:18:49 GMT <=
      • dmitrik - Mon, 6 Dec 2004 13:36:12 -0500 (GMT-05:00)