aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: 625c486428d3713497902b0ffdb85056ed86fab7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>
",
    );
    println!("{:?}", document);
}