summaryrefslogtreecommitdiffstats
path: root/test/xml-structure/basic-3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
commitc484829272cd13a738e35412498e12f2c9a194ac (patch)
treea1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/xml-structure/basic-3
parentInitial commit. (diff)
downloadliborcus-upstream/0.19.2.tar.xz
liborcus-upstream/0.19.2.zip
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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>