J
jose.jeria
I have the following xml file:
<?xml version="1.0"?>
<people>
<person>
<name>Donald Duck</name>
</person>
<person>
<name>Goofy</name>
</person>
<person>
<name>Mickey Mouse</name>
</person>
<person>
<name>Donald Duck</name>
</person>
<!-- and so on -->
</people>
I want to eliminate any duplicate in this file. So Donald Duck would
only appear once. Note that Donald Duck would appear maximum 2 times in
the xml file, not more.
Is this possible to achieve with XSLT?
<?xml version="1.0"?>
<people>
<person>
<name>Donald Duck</name>
</person>
<person>
<name>Goofy</name>
</person>
<person>
<name>Mickey Mouse</name>
</person>
<person>
<name>Donald Duck</name>
</person>
<!-- and so on -->
</people>
I want to eliminate any duplicate in this file. So Donald Duck would
only appear once. Note that Donald Duck would appear maximum 2 times in
the xml file, not more.
Is this possible to achieve with XSLT?