XPathExtension extension

on

Methods

xpath(String expression, {Map<String, Object>? variables, Map<XmlName, XPathFunction>? functions}) Iterable<XmlNode>

Available on XmlNode, provided by the XPathExtension extension

Returns an iterable over the nodes matching the provided XPath expression.
xpathEvaluate(String expression, {Map<String, Object>? variables, Map<XmlName, XPathFunction>? functions}) XPathSequence<Object>

Available on XmlNode, provided by the XPathExtension extension

Returns the value resulting from evaluating the given XPath expression.