xsl-list
[Top] [All Lists]

RE: Counting uniquely selected values of elements

2003-04-15 00:05:39
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



<Prev in Thread] Current Thread [Next in Thread>