peanuts/src/main.rs

15 lines
298 B
Rust

use peanuts::parser::document;
fn main() {
let document = document(
"<?xml version=\"1.0\"?>
<TEST>
<block1>Background Mark 1</block1>
<block2>Background Mark 2</block2>
<block3>Background Mark 3</block3>
</TEST>ahsdkjlfhasdlkjfhkljh
",
);
println!("{:#?}", document);
}