Subject: RE: [xsl] Counting uniquely selected values of elements From: Jarno.Elovirta@xxxxxxxxx Date: Tue, 15 Apr 2003 08:55:12 +0300 |
Hi, > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Counting uniquely selecte, Ragulf Pickaxe | Thread | RE: [xsl] Counting uniquely selecte, Ragulf Pickaxe |
[xsl] Sorting on call-template valu, Randy Oxentenko | Date | Re: [xsl] Sorting on call-template , Mike Brown |
Month |