xpathEvaluate method
Returns the value resulting from evaluating the given XPath expression.
The returned value is of type XPathSequence, which is an iterable of Objects.
Implementation
@experimental
XPathSequence xpathEvaluate(
String expression, {
Map<String, Object>? variables,
Map<XmlName, XPathFunction>? functions,
}) => XPathContext.canonical(
this,
).copy(variables: variables, functions: functions).evaluate(expression);