[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: removing duplicate children


Subject: RE: removing duplicate children
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 1 Dec 2000 11:47:06 -0000

> I want to iterate thru a list of nodes that I select and only print
> out the unique ones.  This is different from what I've seen in the FAQ
> since I want unique values only from the current node and below it.

This makes it difficult because neither the preceding nor the
preceding-sibling axis gives you the right answer. I'd suggest using
Muenchian grouping with generate-id() of the "owning" node as part of the
key value. See www.jenitennison.com.

Mike Kay 


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



Current Thread