diff options
author | Daniel Veillard <veillard@src.gnome.org> | 1999-07-15 14:24:29 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 1999-07-15 14:24:29 +0000 |
commit | 1566d3a91b50e08f8bd928da5a06d9c53a99747f (patch) | |
tree | f6c75eeafc37dd40a502e2a17e3d1f7ae8b710ba /test/XPath/tests | |
parent | d79d787092753bc1f86e360f33b6d6bcb8940d80 (diff) | |
download | android_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/chaptersbase | 7 | ||||
-rw-r--r-- | test/XPath/tests/simpleabbr | 6 | ||||
-rw-r--r-- | test/XPath/tests/simplebase | 7 |
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 |