diff options
Diffstat (limited to 'test/xml-structure/attribute-1')
-rw-r--r-- | test/xml-structure/attribute-1/check.txt | 7 | ||||
-rw-r--r-- | test/xml-structure/attribute-1/input.xml | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/xml-structure/attribute-1/check.txt b/test/xml-structure/attribute-1/check.txt new file mode 100644 index 0000000..02bc1cb --- /dev/null +++ b/test/xml-structure/attribute-1/check.txt @@ -0,0 +1,7 @@ +/root +/root/@version +/root/@type +/root/entry[*] +/root/entry[*]/@attr1 +/root/entry[*]/@attr2 +/root/entry[*]/@attr3 diff --git a/test/xml-structure/attribute-1/input.xml b/test/xml-structure/attribute-1/input.xml new file mode 100644 index 0000000..fabfeda --- /dev/null +++ b/test/xml-structure/attribute-1/input.xml @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<root version="2.1" type="a"> + <entry attr1="val1" attr2="val2"/> + <entry attr2="val2" attr3="foo"/> +</root> |