evaluate
evaluates an XPath expression and returns the result as an {@link Object}. The object returned can either be a {@link List} of {@link Node}instances, a {@link Node}instance, a {@link String} or a {@link Number}instance depending on the XPath expression.
@param context is either a node or a list of nodes on which to evalute theXPath
@return the value of the XPath expression as a {@link List}of {@link Node} instances, a {@link Node}instance, a {@link String}or a {@link Number}instance depending on the XPath expression.