Hi Team,
I have a XML data being showed as a Tree structure in my UI.
Now, I would like to do a Xpath search like below for example,
<A>
<A1>
<Name>abc</Name>
<ID>123</ID>
<company>XXX</company>
</A1>
<A2>
<Name>bcd</Name>
<ID>121</ID>
<company>XXX</company>
</A2>
</A>
How to make a search with Xpath like -> A/A1/Name[2]
This should result me the value bcd.
Can you please guide me with this?
Thanks,
Manjula
I have a XML data being showed as a Tree structure in my UI.
Now, I would like to do a Xpath search like below for example,
<A>
<A1>
<Name>abc</Name>
<ID>123</ID>
<company>XXX</company>
</A1>
<A2>
<Name>bcd</Name>
<ID>121</ID>
<company>XXX</company>
</A2>
</A>
How to make a search with Xpath like -> A/A1/Name[2]
This should result me the value bcd.
Can you please guide me with this?
Thanks,
Manjula
Comment