My sample input XML is:
<root>
<a>
<b>
<c>item1</c>
<d>item2</d>
<e>item3</e>
</b>
</a>
<a>
<b>
<c>item4</c>
<c>item5</c>
<e>item6</e>
</b>
</a>
</root>
I am suppose to select all the first occurrence of node c. The output should be item1 and item4. when I am using /root/a/b/c it returns item1,item4 and item5.