Creates an XPathExpression from the given expression string.
Creates an XPathExpression from the given expression string. Typically (but not necessarily) "compiles" the XPath string. Make sure to pass only XPath strings for which all needed namespace bindings are known to the XPath evaluator.
A simple XPath evaluator abstraction. It has no knowledge about static and dynamic contexts (other than the optional context item), etc. It also has no knowledge about specific implementations, such as Saxon. Moreover, it has no knowledge about XPath versions.
This trait looks a bit like the JAXP
XPath
interface. Like theXPath
interface, this trait does not support the XDM data types that succeeded XPath 1.0. Compared to the JAXPXPath
interface this trait is more Scala-esque and type-safe.