pub fn apply_predicates<I: DocIndexLike>(
nodes: Vec<NodeId>,
predicates: &[Expr],
idx: &I,
bindings: &dyn XPathBindings,
compat: bool,
) -> Result<Vec<NodeId>, XmlError>Expand description
Filter nodes by sequentially applying each predicate. Each
per-node sub-context inherits the surrounding compat flag so
predicate-internal calls to string() / number() / etc. observe
the same libxml2-compat behaviour as the outer expression.