XPathExtension extension

on

Methods

xpath(String expression, {XPathConfiguration? configuration, 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, {XPathConfiguration? configuration, Map<String, Object>? variables, Map<XmlName, XPathFunction>? functions}) → XPathSequence

Available on XmlNode, provided by the XPathExtension extension

Evaluates the given XPath expression and returns the resulting sequence.