Registry / other / xmltree

xmltree

JSON →
library0.12.0rscratesunverified

Parse an XML file into a simple tree-like structure.

# Cargo.toml [dependencies] xmltree = "0.12.0"
INSTALL
IMPORT
SIG · XMLTREE
X
xmltree
otherrustv0.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Element
✓ use xmltree::Element;

Parses an XML string into an Element tree.

use xmltree::Element; fn main() -> Result<(), Box<dyn std::error::Error>> { let xml = r"<root><child attr='value'/></root>"; let elem = Element::parse(xml.as_bytes())?; println!("Root: {}", elem.name); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.12.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Resources
xmltree — cargo add xmltree · libregistry