RE: Counting uniquely selected values of elements2003-04-14 22:55:12Hi, The a and b elements are always there but there might be some (d) elements before the c element: a/b/d/c, perhaps a/b/d/e/f/c. Kan I in the solution below, just substitute a/b/c with a/b//c? 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. Cheers, Jarno - Clan of Xymox: I Want You Now XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|