aboutsummaryrefslogtreecommitdiffstats
path: root/test/XPath/tests
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>1999-07-15 14:24:29 +0000
committerDaniel Veillard <veillard@src.gnome.org>1999-07-15 14:24:29 +0000
commit1566d3a91b50e08f8bd928da5a06d9c53a99747f (patch)
treef6c75eeafc37dd40a502e2a17e3d1f7ae8b710ba /test/XPath/tests
parentd79d787092753bc1f86e360f33b6d6bcb8940d80 (diff)
downloadandroid_external_libxml2-1566d3a91b50e08f8bd928da5a06d9c53a99747f.tar.gz
android_external_libxml2-1566d3a91b50e08f8bd928da5a06d9c53a99747f.tar.bz2
android_external_libxml2-1566d3a91b50e08f8bd928da5a06d9c53a99747f.zip
Added XPath code (http://www.w3.org/TR/xpath), updated HTML support and docs, Daniel
Diffstat (limited to 'test/XPath/tests')
-rw-r--r--test/XPath/tests/chaptersbase7
-rw-r--r--test/XPath/tests/simpleabbr6
-rw-r--r--test/XPath/tests/simplebase7
3 files changed, 20 insertions, 0 deletions
diff --git a/test/XPath/tests/chaptersbase b/test/XPath/tests/chaptersbase
new file mode 100644
index 00000000..997d8c86
--- /dev/null
+++ b/test/XPath/tests/chaptersbase
@@ -0,0 +1,7 @@
+/child::head
+/child::*
+/child::head/child::title
+/child::head/child::title/child::text()
+/child::head/node()
+/descendant::title
+/descendant::p/ancestor::chapter
diff --git a/test/XPath/tests/simpleabbr b/test/XPath/tests/simpleabbr
new file mode 100644
index 00000000..b4431229
--- /dev/null
+++ b/test/XPath/tests/simpleabbr
@@ -0,0 +1,6 @@
+/chapter[1]
+//p
+//chapter/image
+//p/text()
+//p/text()[position()=1]
+//p/text()[position()=last()]
diff --git a/test/XPath/tests/simplebase b/test/XPath/tests/simplebase
new file mode 100644
index 00000000..997d8c86
--- /dev/null
+++ b/test/XPath/tests/simplebase
@@ -0,0 +1,7 @@
+/child::head
+/child::*
+/child::head/child::title
+/child::head/child::title/child::text()
+/child::head/node()
+/descendant::title
+/descendant::p/ancestor::chapter