diff options
Diffstat (limited to 'test/xml/simple')
-rw-r--r-- | test/xml/simple/check.txt | 12 | ||||
-rw-r--r-- | test/xml/simple/input.xml | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/test/xml/simple/check.txt b/test/xml/simple/check.txt new file mode 100644 index 0000000..a90483e --- /dev/null +++ b/test/xml/simple/check.txt @@ -0,0 +1,12 @@ +/root +/root/child +/root/child +/root/child@attr1="value1" +/root/child@attr2="value2" +/root/child +/root/child/baby +/root/child/baby"some text" +/root"before comment|" +/root"|after comment" +/root/child +/root/child@attr3="value3" diff --git a/test/xml/simple/input.xml b/test/xml/simple/input.xml new file mode 100644 index 0000000..10ad8fd --- /dev/null +++ b/test/xml/simple/input.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- this is a comment --> +<root> + <child/> + <child attr2="value2" attr1="value1"/> + <child> + <baby>some text</baby> + </child> + before comment|<!-- another comment -->|after comment + <child attr3="value3"/> + <!-- another comment - with a single hyphen. --> +</root> + |