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