xpath expression -I have 2 field tags where 1 is child and nother is children tag ,when extracting child tag value it is giving both the children and child values, also I have tried with ends-with local name():child it's not working as expected .
can someone help on xpath expression to get only child value.
<Child_x0028_ren_x0029_>
<Child>
Hi @padmak
Pls try the below xpath query:
//Child/text()
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
<Child_x0028_ren_x0029_>
value :1
</Child_x0028_ren_x0029_>
<Child>
value:2
</Child>
when I am extracting child -value
[ends-with(local-name(): "Child")] ,
[contains(local-name():"Child")]
with X path expression I am getting both the values of children value & child value
can you please help me to get child value alone .
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.