This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: removing duplicate children


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]