[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How do I count the number of elements in a key ?


Subject: Re: [xsl] How do I count the number of elements in a key ?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 5 Oct 2006 22:59:33 +0100

> How do I count the number of elements in the key "systems" seeing that 
That's the basis of the "muenchian grouping" technique:
count(/inventory/row/serial[generate-id()=generate-id(key('systems',.))])

David


Current Thread