pub fn parse_xpath10(input: &str) -> Result<ParsedXPath, XPathError>Expand description
Parse an XPath expression in XPath 1.0 mode, returning XPathError on failure.
Convenience wrapper around parse_with_options with XPathMode::XPath10.
ยงExample
use xsd_schema::xpath::parser::parse_xpath10;
let result = parse_xpath10("/a/b").unwrap();
println!("Parsed {} nodes", result.node_count());