Compile an expression supplied as a String.
An XPathExecutable
which represents the compiled xpath expression object.
The XPathExecutable may be run as many times as required, in the same or a different
thread. The XPathExecutable
is not affected by any changes made to the XPathCompiler
once it has been compiled.
XPathExecutable q = compiler.Compile("distinct-values(//*/node-name()");