Re: [xsl] Summating/grouping

Subject: Re: [xsl] Summating/grouping
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 18 Jun 2003 14:22:36 +0100

<xsl:for-each select="/Invoice/InvoiceLine/Charge[@Type =
'Tax']/TaxRate/@Code[generate-id(.)=generate-id(key('TAX', @Code)[1])]">

               ^here your current node is a code attribute
but the predicate will be false for all of them as the keuy matches 
Charge elements.


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread