parsercher 3.1.6

Parses and searches Tag documents. (e.g. HTML, XML)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use parsercher;

fn main() {
    let html = r#"
<head>
    <meta charset="UTF-8">
    <title>sample</title>
</head>
<body>
    <h1>Hello, world!</h1>
</body>
"#;
    if let Ok(dom) = parsercher::parse(&html) {
        parsercher::print_dom_tree(&dom);
    }
}