Subject: Re: 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 |
- grouping and sum
- dmitrik - 6 Dec 2004 14:38:51 -0000
- <Possible follow-ups>
- dmitrik - 6 Dec 2004 16:13:09 -0000
- dmitrik - 6 Dec 2004 16:13:33 -0000
- David Carlisle - 6 Dec 2004 16:19:23 -0000 <=
- dmitrik - 6 Dec 2004 18:36:34 -0000
|
|