What is the easiest way to remove duplicates from a XML file?
Easiest way to remove duplicates
Collapse
X
-
Is there any particular technology you're already familiar with? Eg PHP, Perl, sed, awk, xslt?
When you say duplicate, do you mean
1. the node names are the same?
2. an attribute (id?) is the same?
3. Values are the same?
eg
1.
<thisNode>value </thisNode>
<thisNode>other Value</thisNode>
2.
<someNode id="23"/>
<otherNode id="23"/>
3. <box>31</box>
<table>31</table>Comment
Comment