summaryrefslogtreecommitdiffstats
path: root/libxml2/result/XPath/tests/nodespat
blob: 1efd87fb182da3d4610b5b03fcecdce5cb56f767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94

========================
Expression: /.
Object is a Node Set :
Set contains 1 nodes:
1   /

========================
Expression: //.
Object is a Node Set :
Set contains 12 nodes:
1   /
2  ELEMENT root
3  ELEMENT foo
4  TEXT
    content=txt
5  COMMENT
    content=hello
6  CDATA_SECTION
    content=data
7  PI target
    content=data
8  ELEMENT bar
9  TEXT
    content=txt
10  COMMENT
    content=hello
11  CDATA_SECTION
    content=data
12  PI target
    content=data

========================
Expression: /root//.
Object is a Node Set :
Set contains 11 nodes:
1  ELEMENT root
2  ELEMENT foo
3  TEXT
    content=txt
4  COMMENT
    content=hello
5  CDATA_SECTION
    content=data
6  PI target
    content=data
7  ELEMENT bar
8  TEXT
    content=txt
9  COMMENT
    content=hello
10  CDATA_SECTION
    content=data
11  PI target
    content=data

========================
Expression: //.//./././/.
Object is a Node Set :
Set contains 12 nodes:
1   /
2  ELEMENT root
3  ELEMENT foo
4  TEXT
    content=txt
5  COMMENT
    content=hello
6  CDATA_SECTION
    content=data
7  PI target
    content=data
8  ELEMENT bar
9  TEXT
    content=txt
10  COMMENT
    content=hello
11  CDATA_SECTION
    content=data
12  PI target
    content=data

========================
Expression: /root//././/bar//.
Object is a Node Set :
Set contains 5 nodes:
1  ELEMENT bar
2  TEXT
    content=txt
3  COMMENT
    content=hello
4  CDATA_SECTION
    content=data
5  PI target
    content=data