Subject:Eliminating Duplicates with XSLT Author:XSLT n00b Date:16 Aug 2006 09:35 AM
I am new to XSLT and have a particular problem that I hope there is a simple solution for. I would like to eliminate all duplicates when the XSLT transforms my XML. For instance, I only want a unique value to be displayed once. My data looks like this:
Subject:Eliminating Duplicates with XSLT Author:XSLT n00b Date:16 Aug 2006 01:04 PM Originally Posted: 16 Aug 2006 12:58 PM
I've made a little bit of progress but still having problems. Using the following xsl, I get it to sort out the duplicates, however, they are not ordered how I would like:
What happens is, it prints the first item in the <one> data, then prints all the <two> data underneath, then the next <one> data, then it duplicates all the <two> data again. I'm stumped. This data:
Subject:Eliminating Duplicates with XSLT Author:Tony Lavinio Date:17 Aug 2006 07:57 AM
Which version of Stylus Studio are you using, so we know
how best to answer your question?
(Remember you are using the Stylus Studio Developer Network, a
free resource to Stylus Studio users only.)