You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
1.9 KiB

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