Evaluate the compiled XPath expression in the context of the specified
InputSource and return the result as the specified type.
This method builds a data model for the InputSource and calls evaluate(Object item, QName returnType) on the resulting document object.
See Evaluation of XPath Expressions for context item evaluation, variable, function and QName resolution and return type conversion.
If returnType is not one of the types defined in XPathConstants, then an IllegalArgumentException is thrown.
If source or returnType is null, then a NullPointerException is thrown.