XPathExtension extension

on

Methods

xpath(String expression, {Map<String, XPathValue> variables = const {}, Map<String, XPathFunction> functions = const {}}) Iterable<XmlNode>
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
Returns the value resulting from evaluating the given XPath expression.