DEPRECATED - use https://github.com/netvl/rust-xml/ instead.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
AUTHORS
Cargo.toml
LICENSE
Makefile
README.md
cargo-lite.conf
rust-empty.mk

README.md

sax-rs

Wrapper for libxml2's SAX parser.

A simple example

let parser = sax::parse_str(XML_DATA);
for result in parser.iter() {
    match result {
        Ok(sax::StartDocument) => (),
        Ok(sax::EndDocument) => break,
        Ok(event) => println!("{}", event),
        Err(err) => println!("{}", err),
    }
}

Documentation

The API docs are hosted on Rust CI.

Compile

make

Run tests

make check

Todo

  • Messages for start/end element namespace callbacks

License

This project is licensed under Apache License Version 2.0.

Please see the LICENSE file for more information.