[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Counting uniquely selected values of elements
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|