13 releases (8 breaking)
✓ Uses Rust 2018 edition
|new 0.10.1||Jul 7, 2020|
|0.10.0||Jan 5, 2020|
|0.9.0||Dec 20, 2019|
|0.8.0||Feb 7, 2018|
|0.2.1||Aug 19, 2015|
#2 in #parse
8,274 downloads per month
Used in 50 crates (24 directly)
A small library for parsing an XML file into an in-memory tree structure.
Not recommended for large XML files, as it will load the entire file into memory.
Add the following to your
[dependencies] xmltree = "0.10"
attribute-order- change the data structure that stores attributes into one that keeps a consistent order. This changes the type definition and adds another dependency.
This crate will export some types from the xml-rs crate. If your own crate also uses the xml-rs crate, but with a different version, the types may be incompatible. One way to solve this is to only use the exported types, but sometimes that is not always possible. In those cases you should use a version of xmltree that matches the version of xml-rs you are using:
|xml-rs version||xmltree version|
See the documentation for some examples: