diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..625c486 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,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); +} |