Subject: Re: [xsl] How do I count the number of elements in a key ? From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Fri, 6 Oct 2006 15:03:42 +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',.))])
It's also worth mentioning count(distinct-values(/inventory/row/serial)) if you are using XSLT 2.0
cheers andrew
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How do I count the number, David Carlisle | Thread | Re: [xsl] How do I count the number, David Carlisle |
RE: [xsl] working out where the las, Robert Walpole | Date | Re: [xsl] How do I count the number, David Carlisle |
Month |