Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    compiled: &CompiledExpr,
    context: &mut XPathContext,
) -> Option<XPathValue>
Expand description

Evaluate a compiled XPath expression.

Returns None on evaluation error; the error message is recorded on the context (XPathContext::error) so callers can surface it exactly as upstream does (“XPath error : …”).