docs.rs failed to build RustyXML-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
RustyXML-0.3.0
RustyXML
RustyXML is a namespace aware XML parser written in Rust. Right now it provides a basic SAX-like API, and an ElementBuilder based on that.
The parser itself is derived from OFXMLParser as found in ObjFW https://webkeks.org/objfw/.
The current limitations are:
- Incomplete error checking
- Unstable API
This project tracks Rust's master branch.
Examples
Parse a string into an Element
struct:
use Element;
let elem: = "<a href='//example.com'/>".parse;
Get events from parsing string data:
use ;
// Create a new Parser
let mut p = new;
// Feed data to be parsed
p.feed_str;
p.feed_str;
// Get events for the fed data
for event in p
This should print:
<a>
</a>
Build Element
s from Parser
Event
s:
use ;
let mut p = new;
let mut e = new;
p.feed_str;
for elem in p.filter_map
License
This project is MIT licensed. Please see the COPYING file for more information.