This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Eliminating Duplicate Elements


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]