Skip to main content

Module context

Module context 

Source
Expand description

XPath 1.0 Evaluation Context (§25).

The evaluation context holds the state required to evaluate an XPath expression: the current document, context node, context position/size, variable bindings, namespace declarations, registered extension functions, and recursion-depth tracking.

§UPSTREAM-PARITY

Mirrors xmlXPathContext from libxml2 with additional Rust-side state for variable/function resolution and safe recursion guards.

§Courts

XPATH-CONTEXT-*

Structs§

XPathContext
XPath 1.0 evaluation context.

Type Aliases§

BoxedXPathFunction
A boxed, capture-capable XPath function implementation.
FuncLookupFunc
C callback for function lookup.
FunctionLookupFn
A namespaced function-lookup fallback: consulted by lookup_function after the exact-name registry misses, so engines (XSLT) can resolve prefix:local(...) calls against their own extension registries.
VarLookupFunc
C callback for variable lookup.
XPathFunction
XPath extension function signature.