<data>
<info>
<name>A</name>
</info>
<info>
<name>B</name>
</info>
<info>
<name>A</name>
</info>
<info>
<name>C</name>
</info>
<info>
<name>B</name>
</info>
</info>
Is there any way to get result like in java or OSB or in Xquery distinct-values is not working in Oracle service bus so i want made java method to get unique names
<data>
<info>
<name>A</name>
</info>
<info>
<name>B</name>
</info>
<info>
<name>C</name>
</info>
</data>
I have solved like this