XPathExtension extension

on

Methods

xpath(String expression, {Map<String, XPathValue> variables = const {}, Map<String, XPathFunction> functions = const {}}) 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, XPathValue> variables = const {}, Map<String, XPathFunction> functions = const {}}) XPathValue

Available on XmlNode, provided by the XPathExtension extension

Returns the value resulting from evaluating the given XPath expression.