Output should for address_1 should be:
entry/address[1]/address_1[1]
For position i am trying to get the total relative position. Using position() considers only the absolute position. I wanted to get the position of the element starting from the document root i.e
position of entry=1
position of name=2
position of name_first=3 and so on...i.e unique values for each element