Suppose you want to extract the value of the double
element from this document:
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value><double>28657</double></value>
</param>
</params>
</methodResponse>
You need to evaluate the XPath expression string(/methodResponse/params/param/value/double)