Registry / serialization / elementtree

elementtree

JSON →
library1.2.3rscratesunverified

Parse an XML file into Python elementtree like structure

# Cargo.toml [dependencies] elementtree = "1.2.3"
INSTALL
IMPORT
SIG · ELEMENTTREE
E
elementtree
serializationrustv1.2.3
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 elementtree::Element;

Parses an XML string into an Element tree.

use elementtree::Element; fn main() -> Result<(), Box<dyn std::error::Error>> { let xml = r#"<root><child id="1"/></root>"#; let root = Element::from_reader(xml.as_bytes())?; println!("Root: {}", root.tag()); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
elementtree — cargo add elementtree · libregistry