Subject: RE: [xsl] Count items in a key ? From: "Fabien Tillier" <f.tillier@xxxxxxxx> Date: Wed, 13 Oct 2010 16:38:37 +0200 |
Yes, but can I get that directly from the key rather than parsing (again) the tree for that information ? -----Message d'origine----- De : Martin Honnen [mailto:Martin.Honnen@xxxxxx] Envoyi : mercredi 13 octobre 2010 16:34 @ : xsl-list@xxxxxxxxxxxxxxxxxxxxxx Objet : Re: [xsl] Count items in a key ? Fabien Tillier wrote: > I want to know that in the key, I have 'foo', 'bar' and 'joe' >> <xsl:key name="mykey" match="NODE" use="@id"/> You need distinct-values(//NODE/@id) then I think. -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Count items in a key ?, Martin Honnen | Thread | Re: [xsl] Count items in a key ?, David Carlisle |
Re: [xsl] Count items in a key ?, Martin Honnen | Date | Re: [xsl] Count items in a key ?, David Carlisle |
Month |