public static Double evaluateAsNumber ( Node node , String xPathExpression , NamespaceContext nsContext ) { return ( Double ) evaluateExpression ( node , xPathExpression , nsContext , XPathConstants . NUMBER ) ; }
Evaluate XPath expression with result type Number .