public static Boolean evaluateAsBoolean ( Node node , String xPathExpression , NamespaceContext nsContext ) { return ( Boolean ) evaluateExpression ( node , xPathExpression , nsContext , XPathConstants . BOOLEAN ) ; }
Evaluate XPath expression with result type Boolean value .