pub fn parse(input: &str) -> Result<ParsedXPath, ParseError>Expand description
Parse an XPath 2.0 expression string.
Returns a ParsedXPath containing the AST arena and root node ID.
ยงExample
use xsd_schema::xpath::parser::parse;
let result = parse("/a/b/c").unwrap();
println!("Parsed {} nodes", result.node_count());