roxml::XmlReader
The XmlReader is designed to read xml in an efficient way without any DOM or other intermediate structures.
Usage
extern crate roxml;
use ;
let xml = r#"<note priority="high">
<to>Alice</to>
<from>Bob</from>
<body>Don't forget to feed the cat.</body>
</note>"#;
let reader = parse;
let root = reader.root_element.expect;
assert_eq!;
assert_eq!;
for child in root.children
License
Licensed under either of
- Apache License, Version 2.0 LICENSE-APACHE or source
- MIT license LICENSE-MIT or source
at your option.
Contribution
Any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.