diff options
author | Mike Hommey <mh@glandium.org> | 2004-03-25 06:59:32 +0000 |
---|---|---|
committer | Mike Hommey <mh@glandium.org> | 2004-03-25 06:59:32 +0000 |
commit | d09ab089457ae3c20cc98f9afa03379c6ebf9598 (patch) | |
tree | f34702d634972abbc1b478a4529149b548a1cd4c /result/XPath/tests/chaptersprefol | |
download | libxml2-upstream/2.6.8.tar.gz |
[svn-inject] Installing original source versionupstream/2.6.8
Diffstat (limited to 'result/XPath/tests/chaptersprefol')
-rw-r--r-- | result/XPath/tests/chaptersprefol | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/result/XPath/tests/chaptersprefol b/result/XPath/tests/chaptersprefol new file mode 100644 index 0000000..a12c937 --- /dev/null +++ b/result/XPath/tests/chaptersprefol @@ -0,0 +1,100 @@ + +======================== +Expression: /following::* +Object is a Node Set : +Set contains 0 nodes: + +======================== +Expression: /preceding::* +Object is a Node Set : +Set contains 0 nodes: + +======================== +Expression: /child::EXAMPLE/preceding::* +Object is a Node Set : +Set contains 0 nodes: + +======================== +Expression: /child::EXAMPLE/following::* +Object is a Node Set : +Set contains 0 nodes: + +======================== +Expression: /child::EXAMPLE/child::chapter[3]/preceding::* +Object is a Node Set : +Set contains 10 nodes: +1 ELEMENT head +2 ELEMENT title +3 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter1 +4 ELEMENT title +5 ELEMENT p +6 ELEMENT image + ATTRIBUTE href + TEXT + content=linus.gif +7 ELEMENT p +8 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter2 +9 ELEMENT title +10 ELEMENT p + +======================== +Expression: /child::EXAMPLE/child::chapter[3]/following::* +Object is a Node Set : +Set contains 6 nodes: +1 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter4 +2 ELEMENT title +3 ELEMENT p +4 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter5 +5 ELEMENT title +6 ELEMENT p + +======================== +Expression: /child::EXAMPLE/child::chapter[1]/image/preceding::* +Object is a Node Set : +Set contains 4 nodes: +1 ELEMENT head +2 ELEMENT title +3 ELEMENT title +4 ELEMENT p + +======================== +Expression: /child::EXAMPLE/child::chapter[1]/image/following::* +Object is a Node Set : +Set contains 13 nodes: +1 ELEMENT p +2 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter2 +3 ELEMENT title +4 ELEMENT p +5 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter3 +6 ELEMENT title +7 ELEMENT p +8 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter4 +9 ELEMENT title +10 ELEMENT p +11 ELEMENT chapter + ATTRIBUTE id + TEXT + content=chapter5 +12 ELEMENT title +13 ELEMENT p |