[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

remove duplicates in each big entry

Subject: remove duplicates in each big entry
From: "Pedro Sá da Costa" <pedrosacosta@xxxxxxxxxxx>
Date: Thu, 26 May 2005 21:08:32 +0000
xml remove duplicates
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/


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.