RE: [xsl] First element with given attribute values

Subject: RE: [xsl] First element with given attribute values
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sun, 11 Apr 2004 16:39:18 +0100
>    I find that very often I end up with lists of elements like:
> 
> 
>   Which I need to trim, keeping only the first element with an unique
> attibute value, or unique attribute values. 
> 
> Is there a clean way to do it ?
> 

Eliminating duplicates is essentially the same problem as grouping: see

http://www.jenitennison.com/xslt/grouping

Michael Kay

Current Thread