@ Override @ Scope ( DocScope . IO ) public XPathEvaluator evalXPath ( final String xpath ) { return new DefaultXPathEvaluator ( projector , new DocumentResolver ( ) { @ Override public Document resolve ( final Class < ? > ... resourceAwareClasses ) throws IOException { return IOHelper . getDocumentFromURL ( projector . config ( ) . createDocumentBuilder ( ) , url , requestProperties , resourceAwareClasses ) ; } } , xpath ) ; }
Evaluate XPath on the url document .