Hi, I have this XML string.
<xml version="1.0" encoding="utf-16">
<x> test value 1 </x>
<y> test value 2</y>
<x> test value 3</x>
<y> test value 4</y>
<x> test value 5</x>
<y> test value 6 </y>
As per the above sample XML, I have the same object hierarchy in this xml file.
Now out of all of these xml, I want to find a particular node <x> ofwhich value is "Test value 5".
This node can be anywhere in the hierarchy but I know that its value will be unique.
so I want to find <x> node out of this XML containing value "Test Value 5" and I need to update that value as well.
Which is the best way to do this and what is the syntex to get that node?
Thanks in advance
View Complete Post