RE: [xsl] Counting uniquely selected values of elements

Subject: RE: [xsl] Counting uniquely selected values of elements
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Tue, 15 Apr 2003 07:05:39 +0000
Hi Jarno,

In the key match you can use

<xsl:key name="uniq" match="c" use="." />

if c is not used as a non-countable item. If a/b//c selects all the c elements you want, then it'll work.

I am not sure what »if c is not used as a non-countable item« means...


But I will try it out - David Carlisle also came with a solution, which looks like the solution above. Thanks to both of you.

Ragulf Pickaxe :)

_________________________________________________________________



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread