kawat-xpath 0.1.3

XPath evaluation on HTML documents for kawat
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, thiserror::Error)]
pub enum XpathError {
    #[error("failed to parse HTML for XPath evaluation")]
    HtmlParseError,
    #[error("XPath compilation error: {0}")]
    CompileError(String),
    #[error("XPath evaluation error: {0}")]
    EvalError(String),
    #[error("no results for expression")]
    NoResults,
}