RE: [xsl] grouping and selecting

Subject: RE: [xsl] grouping and selecting
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 14 Jun 2001 09:28:29 +0100
>             In the below code
> <xsl:for-each select="//ID[not(. = following::ID)]">
>            <ID><xsl:value-of select="."/></ID>
> </xsl:for-each>
> this gives me all the unique ID's without repeating but i 
> even want to get 
> other elements values without repeat whose id is the same as 
> above how do we 
> do that.

Just replace "ID" by "*" and <ID> by <xsl:copy> - or have I misunderstood?

Mike Kay
Software AG

 XSL-List info and archive:

Current Thread