summaryrefslogtreecommitdiffstats
path: root/test/xml-structure/basic-3
diff options
context:
space:
mode:
Diffstat (limited to 'test/xml-structure/basic-3')
-rw-r--r--test/xml-structure/basic-3/check.txt9
-rw-r--r--test/xml-structure/basic-3/input.xml19
2 files changed, 28 insertions, 0 deletions
diff --git a/test/xml-structure/basic-3/check.txt b/test/xml-structure/basic-3/check.txt
new file mode 100644
index 0000000..81a05a6
--- /dev/null
+++ b/test/xml-structure/basic-3/check.txt
@@ -0,0 +1,9 @@
+/data
+/data/entries
+/data/entries/entry[*]
+/data/entries/entry[*]/id
+/data/entries/entry[*]/name
+/data/entries/entry[*]/name/first
+/data/entries/entry[*]/name/last
+/data/entries/entry[*]/nickname
+/data/entries/entry[*]/gender
diff --git a/test/xml-structure/basic-3/input.xml b/test/xml-structure/basic-3/input.xml
new file mode 100644
index 0000000..4eee597
--- /dev/null
+++ b/test/xml-structure/basic-3/input.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<data>
+ <entries>
+ <entry>
+ <id>0</id>
+ <name>
+ <first>Thomas</first>
+ <last>Anderson</last>
+ </name>
+ <nickname>Neo</nickname>
+ <gender>male</gender>
+ </entry>
+ <entry>
+ <id>1</id>
+ <nickname>Trinity</nickname>
+ <gender>female</gender>
+ </entry>
+ </entries>
+</data>