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?