Subject: RE: 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: 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 |
|
Michael Kay - 13 Oct 2010 15:15:33 -0000
|
|