dummy_xml
A fast DOM XML parser.
Example
How to parse:
extern crate dummy_xml;
use parser;
let result = parse_str;
match result
How to write:
use writer;
use Node;
let mut root = new;
root.append_child
.append_attribute;
root.append_child
.append_attribute;
root.append_child
.append_attribute;
let mut result = String new;
write;
println!;
//expect to see:
//<parent>
// child1 gender='male'></child1>
// <child2 gender='female'></child2>
// <child3 gender='non-gender'></child3>
//</parent>