trashy-xml

Crates.iotrashy-xml
lib.rstrashy-xml
version0.11.0
created_at2020-01-08 01:15:46.152623+00
updated_at2021-04-21 21:58:00.571756+00
descriptionXml parser that does not stop parsing when encountering errors.
homepage
repositoryhttps://github.com/Stromberg90/trashy-xml
max_upload_size
id196458
size61,770
Strømberg (Stromberg90)

documentation

https://docs.rs/trashy-xml

README

trashy-xml

A non-spec compliant xml parser that does not stop parsing when encountering errors.

Example

use trashy_xml::XmlParser;

// Gets each open element matching "this_element"
// then prints the debug representation of its attributes.
let parsed = XmlParser::str("<this_element attribute=\"value\" />").parse();
for token in parsed.elements_from_name("this_element") {
    dbg!(token.attributes());
}
Commit count: 0

cargo fmt