Skip to content

Less than stellar xml parser, but does what I need in a "simple" way

License

Notifications You must be signed in to change notification settings

Stromberg90/trashy-xml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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());
}

About

Less than stellar xml parser, but does what I need in a "simple" way

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages