createExpression method

XPathExpression createExpression(
  1. String expression, [
  2. XPathNSResolver? resolver
])

This method compiles an XPathExpression which can then be used for (repeated) evaluations of the expression.

Implementation

external XPathExpression createExpression(
  String expression, [
  XPathNSResolver? resolver,
]);