Wrapper for libxml2's SAX parser.
let parser = sax::parse_str(XML_DATA);
for result in parser.iter() {
match result {
Ok(sax::StartDocument) => (),
Ok(sax::EndDocument) => break,
Ok(event) => println!("{}", event),
Err(err) => println!("{}", err),
}
}
The API docs are hosted on Rust CI.
make
make check
- Messages for start/end element namespace callbacks
This project is licensed under Apache License Version 2.0.
Please see the LICENSE file for more information.