[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Count items in a key ?
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Wed, 13 Oct 2010 16:34:23 +0200
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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member