1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00
Files
libxml2/result/XPath/tests/chaptersprefol
Daniel Veillard f41fbbf6a9 testing and bug fixing related to XSLT:
- xpath.c result/XPath/tests/chaptersprefol: bugfixes on order and
  on predicate
- HTMLparser.[ch] HTMLtree.c result/HTML/doc3.htm.err
  result/HTML/doc3.htm.sax result/HTML/wired.html: sometimes one
  really want to have tags closed on output even if we accept
  unclosed ones on input
Daniel
2001-02-13 17:05:35 +00:00

101 lines
1.9 KiB
Plaintext

========================
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