Skip to main content

xpath_eval

Function xpath_eval 

Source
pub fn xpath_eval(doc: &Document, src: &str) -> Result<XPathValue>
Expand description

One-shot XPath evaluation against an arena document. Builds a fresh index per call — use XPathContext to amortise.