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
|