xsl-list
[Top] [All Lists]

remove duplicates in each big entry

2005-05-26 14:08:32
I don't find any example for my doubt about xsl, so i post my question.
Supose that i have the next xml:

<root>
<item>
<value>foo</value>
<value>foo</value>
<value>bar</value>
</item>
<item>
<value>foo</value>
<value>cat</value>
<value>cat</value>
</item>
</root>

and i would like to create a xml like this:

<root>
<item>
<value>foo</value>
<value>bar</value>
</item>
<item>
<value>foo</value>
<value>cat</value>
</item>
</root>

As you can see, i want to remove all duplicates in each entry <item>, not in all document.
The examples that i find, is about all document, not about my question.
What lines i put in my xsl?


Thanks,
psc

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>