ElementTree for Rust
This library parses XML into a Python ElementTree like structure. It currently has basic support for reading and writing with pretty good namespace support and the ability to inspect the file.
It's not recommended to use this for larger documents as the entire document will be loaded into memory. However it's pretty good for working with configuration files and similar things.
Installation
Add this to your Cargo.toml
[]
= "0"
Example
let root = from_reader.unwrap;
let list = root.find.unwrap;
for child in list.find_all