diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index b08c197..ef69011 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,8 @@ -use peanuts::xml::document; +use peanuts::xml::parsers::Parser; +use peanuts::xml::Document; fn main() { - let document = document( + let document = Document::parse( "<?xml version=\"1.0\"?> <TEST> <block1>Background Mark 1</block1> |