I need a little help in one of the scenario I have. I have this XMl
<catalogOfferID>
<catalogOfferID>5609805</catalogOfferID>
</catalogOfferID>
I wanted to fetch 5609805 from this as catalogOfferID.
The logic I am using
But the problem is as due to the same name of parent and child tag it is giving me result like <catalogOfferID>5609805
Please help me in solving this problem.
TIA.