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

Re: [xsl] Remove duplicates using preceding- or following-siblings


Subject: Re: [xsl] Remove duplicates using preceding- or following-siblings
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 2 Apr 2012 15:23:08 +0100

> Hoping for some help...

Post a small complete sample input along with the required output.
Make sure its as small as possible, but covers all your edge cases
too.  Say which xslt processor you are using, and which version of
xslt.

If you want a 1.0 solution it will be 'Muenchian' or key based grouping.

A 2.0 solution will use xsl:for-each-group.

Also have a google of 'attribute value templates' so you don't have
xsl:attribute everywhere.


-- 
Andrew Welch
http://andrewjwelch.com


Current Thread
Keywords