jeudi 18 septembre 2014

Remove duplicates in org.dom4j.Document object


Vote count:

0




Is it somehow possible to filter all duplicate elements on the same level in an org.dom4j.Document object in Java?


For example



<parent>
<child><value>1</value></child>
<child><value>1</value></child>
<child><value>3</value></child>
</parent>


should lead to



<parent>
<child><value>1</value></child>
<child><value>3</value></child>
</parent>


Is there already a built in functionality for this? Or maybe a library that one could use?



asked 1 min ago







Remove duplicates in org.dom4j.Document object

Aucun commentaire:

Enregistrer un commentaire