Prepare and execute an XPath expression, supplied as a string, and returning the results as a List.
@param expression The XPath expression to be evaluated, supplied as a string.
@return The results of the expression, as a List. The List represents the sequenceof items returned by the expression. Each item in the list will either be an object representing a node, or a Java object representing an atomic value. The types of Java object that may be included in the list, and the XML Schema data types that they correspond to, are as follows:
- Boolean (xs:boolean)
- String (xs:string)
- BigDecimal (xs:decimal)
- Long (xs:integer and its derived types)
- Double (xs:double)
- Float (xs:float)
- Date (xs:date, xs:dateTime)
@deprecated since Saxon 8.9 - use the various method defined in the JAXP interface definition