xpath method
Returns an iterable over the nodes matching the provided XPath
expression.
Implementation
@experimental
Iterable<XmlNode> xpath(
String expression, {
Map<String, Object>? variables,
Map<XmlName, XPathFunction>? functions,
}) => xpathEvaluate(
expression,
variables: variables,
functions: functions,
).whereType<XmlNode>();