Evaluate the query, returning the result as an XdmValue (that is, a sequence of nodes and/or atomic values).
XdmValue
An XdmValue representing the results of the query
XQueryEvaluator Class | Saxon.Api Namespace