• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2========================
3Expression: /child::*
4Object is a Node Set :
5Set contains 1 nodes:
61  ELEMENT EXAMPLE
7    ATTRIBUTE prop1
8      TEXT
9        content=gnome is great
10    ATTRIBUTE prop2
11      TEXT
12        content=& linux too
13
14========================
15Expression: /child::EXAMPLE
16Object is a Node Set :
17Set contains 1 nodes:
181  ELEMENT EXAMPLE
19    ATTRIBUTE prop1
20      TEXT
21        content=gnome is great
22    ATTRIBUTE prop2
23      TEXT
24        content=& linux too
25
26========================
27Expression: /child::EXAMPLE/child::head
28Object is a Node Set :
29Set contains 1 nodes:
301  ELEMENT head
31
32========================
33Expression: /child::EXAMPLE/child::*
34Object is a Node Set :
35Set contains 2 nodes:
361  ELEMENT head
372  ELEMENT chapter
38
39========================
40Expression: /child::EXAMPLE/child::head/child::title
41Object is a Node Set :
42Set contains 1 nodes:
431  ELEMENT title
44
45========================
46Expression: /child::EXAMPLE/child::head/child::title/child::text()
47Object is a Node Set :
48Set contains 1 nodes:
491  TEXT
50    content=Welcome to Gnome
51
52========================
53Expression: /child::EXAMPLE/child::head/node()
54Object is a Node Set :
55Set contains 3 nodes:
561  TEXT
57    content=
582  ELEMENT title
593  TEXT
60    content=
61
62========================
63Expression: /child::EXAMPLE/attribute::prop1/self::node()
64Object is a Node Set :
65Set contains 1 nodes:
661  ATTRIBUTE prop1
67    TEXT
68      content=gnome is great
69
70========================
71Expression: /child::EXAMPLE/attribute::prop1/self::*
72Object is a Node Set :
73Set contains 0 nodes:
74
75========================
76Expression: /child::EXAMPLE/attribute::prop1/descendant-or-self::node()
77Object is a Node Set :
78Set contains 1 nodes:
791  ATTRIBUTE prop1
80    TEXT
81      content=gnome is great
82
83========================
84Expression: /child::EXAMPLE/attribute::prop1/descendant-or-self::*
85Object is a Node Set :
86Set contains 0 nodes:
87
88========================
89Expression: /child::EXAMPLE/attribute::prop1/ancestor-or-self::node()
90Object is a Node Set :
91Set contains 3 nodes:
921   /
932  ELEMENT EXAMPLE
94    ATTRIBUTE prop1
95      TEXT
96        content=gnome is great
97    ATTRIBUTE prop2
98      TEXT
99        content=& linux too
1003  ATTRIBUTE prop1
101    TEXT
102      content=gnome is great
103
104========================
105Expression: /child::EXAMPLE/attribute::prop1/ancestor-or-self::*
106Object is a Node Set :
107Set contains 1 nodes:
1081  ELEMENT EXAMPLE
109    ATTRIBUTE prop1
110      TEXT
111        content=gnome is great
112    ATTRIBUTE prop2
113      TEXT
114        content=& linux too
115
116========================
117Expression: /descendant::title
118Object is a Node Set :
119Set contains 2 nodes:
1201  ELEMENT title
1212  ELEMENT title
122
123========================
124Expression: /descendant::p/ancestor::chapter
125Object is a Node Set :
126Set contains 1 nodes:
1271  ELEMENT chapter
128
129========================
130Expression: /child::EXAMPLE/attribute::prop2/preceding::text()
131Object is a Node Set :
132Set contains 0 nodes:
133