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 /result/XPath | |
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 'result/XPath')
-rw-r--r-- | result/XPath/expr/base | 5 | ||||
-rw-r--r-- | result/XPath/expr/functions | 5 | ||||
-rw-r--r-- | result/XPath/expr/strings | 19 | ||||
-rw-r--r-- | result/XPath/tests/chaptersbase | 36 | ||||
-rw-r--r-- | result/XPath/tests/simpleabbr | 25 | ||||
-rw-r--r-- | result/XPath/tests/simplebase | 24 |
6 files changed, 114 insertions, 0 deletions
diff --git a/result/XPath/expr/base b/result/XPath/expr/base new file mode 100644 index 00000000..2f1ebda3 --- /dev/null +++ b/result/XPath/expr/base @@ -0,0 +1,5 @@ +Object is a number : 1 +Object is a number : 3 +Object is a number : 6 +Object is a number : 11 +Object is a number : 21 diff --git a/result/XPath/expr/functions b/result/XPath/expr/functions new file mode 100644 index 00000000..3e40603a --- /dev/null +++ b/result/XPath/expr/functions @@ -0,0 +1,5 @@ +Object is a Boolean : true +Object is a Boolean : false +Object is a number : 1.5 +Object is a string : tititoto +Object is a string : tititototatalast diff --git a/result/XPath/expr/strings b/result/XPath/expr/strings new file mode 100644 index 00000000..e405715c --- /dev/null +++ b/result/XPath/expr/strings @@ -0,0 +1,19 @@ +Object is a string : 5 +Object is a string : 0.5 +Object is a string : -0.5 +Object is a string : true +Object is a string : false +Object is a string : tititoto +Object is a string : tititototata +Object is a Boolean : true +Object is a Boolean : false +Object is a Boolean : true +Object is a Boolean : true +Object is a Boolean : true +Object is a Boolean : false +Object is a string : 234 +Object is a string : 2345 +Object is a string : 234 +Object is a string : 12 +Object is a number : 0 +Object is a number : 4 diff --git a/result/XPath/tests/chaptersbase b/result/XPath/tests/chaptersbase new file mode 100644 index 00000000..43cc0538 --- /dev/null +++ b/result/XPath/tests/chaptersbase @@ -0,0 +1,36 @@ +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT head +Object is a Node Set : +Set contains 6 nodes: +1 ELEMENT head +2 ELEMENT chapter +3 ELEMENT chapter +4 ELEMENT chapter +5 ELEMENT chapter +6 ELEMENT chapter +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT title +Object is a Node Set : +Set contains 1 nodes: +1 TEXT + content=Welcome to Gnome +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT title +Object is a Node Set : +Set contains 6 nodes: +1 ELEMENT title +2 ELEMENT title +3 ELEMENT title +4 ELEMENT title +5 ELEMENT title +6 ELEMENT title +Object is a Node Set : +Set contains 5 nodes: +1 ELEMENT chapter +2 ELEMENT chapter +3 ELEMENT chapter +4 ELEMENT chapter +5 ELEMENT chapter diff --git a/result/XPath/tests/simpleabbr b/result/XPath/tests/simpleabbr new file mode 100644 index 00000000..cca499de --- /dev/null +++ b/result/XPath/tests/simpleabbr @@ -0,0 +1,25 @@ +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT chapter +Object is a Node Set : +Set contains 2 nodes: +1 ELEMENT p +2 ELEMENT p +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT image + ATTRIBUTE href + TEXT + content=linus.gif +Object is a Node Set : +Set contains 2 nodes: +1 TEXT + content=bla bla bla ... +2 TEXT + content=... +Object is a Node Set : +Set contains 1 nodes: +1 TEXT + content=bla bla bla ... +Object is a Node Set : +Set contains 0 nodes: diff --git a/result/XPath/tests/simplebase b/result/XPath/tests/simplebase new file mode 100644 index 00000000..32a84bbb --- /dev/null +++ b/result/XPath/tests/simplebase @@ -0,0 +1,24 @@ +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT head +Object is a Node Set : +Set contains 2 nodes: +1 ELEMENT head +2 ELEMENT chapter +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT title +Object is a Node Set : +Set contains 1 nodes: +1 TEXT + content=Welcome to Gnome +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT title +Object is a Node Set : +Set contains 2 nodes: +1 ELEMENT title +2 ELEMENT title +Object is a Node Set : +Set contains 1 nodes: +1 ELEMENT chapter |