vedukulring
New Member
Suppose I have an XML:<as> <a> <name>xxx</name> <data>xxx-data</data> </a> <a> <name>yyy</name> <data>yyy-data</data> </a> <a> <name>zzz</name> <data>zzz-data</data> </a></as>Now I would like to write an \[code\]XPath\[/code\] to select the \[code\]data\[/code\] text of the element \[code\]a\[/code\] with the \[code\]name\[/code\] text \[code\]xxx\[/code\]. This \[code\]Xpath\[/code\] should return \[code\]xxx-data\[/code\]. How can I do that?