From: Antony.Tomasovic@csiro.au
Reply-To: xsl-list@lists.mulberrytech.com
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] Eliminating Duplicate Elements
Date: Wed, 14 Aug 2002 14:33:13 +1000
Hi,
I've read the archives about elimating duplicate elements
but still can't seem to get my head around the concept.
Can anyone, in as simple terms as possible, explain how
I can use XSL to turn the following XML:
<fred>
<wilma>
<pebbles> one </pebbles>
</wilma>
</fred>
<fred>
<wilma>
<pebbles> two </pebbles>
</wilma>
</fred>
<fred>
<wilma>
<pebbles> one </pebbles>
</wilma>
</fred>
to output as:
<fred>
<wilma>
<pebbles> one </pebbles>
</wilma>
</fred>
<fred>
<wilma>
<pebbles> two </pebbles>
</wilma>
</fred>
using <xsl:for-each> loops.
Thanks,
Antony
Antony Tomasovic
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list