If my XML is like this:
<sql result="success">
<row>
<column>
<name>USER_ID</name>
<value>TEST</value>
</column>
<column>
<name>EMAIL_ADDRESS</name>
<value>xxx@yyyy.com</value>
</column>
</row>
</sql>
How do I extract just the text of the node retrieved with this XPath:
//value[preceding-sibling::name[1][. = 'USER_ID']]
Just append the
/text()to get the text child of the element: