/ libxml2 / result / XPath / tests / vidbase
vidbase
 1  
 2  ========================
 3  Expression: id('chapter1')
 4  Object is a Node Set :
 5  Set contains 1 nodes:
 6  1  ELEMENT chapter
 7      ATTRIBUTE id
 8        TEXT
 9          content=chapter1
10  
11  ========================
12  Expression: id('chapter3')
13  Object is a Node Set :
14  Set contains 1 nodes:
15  1  ELEMENT chapter
16      ATTRIBUTE id
17        TEXT
18          content=chapter3
19  
20  ========================
21  Expression: id('chapter1')/p
22  Object is a Node Set :
23  Set contains 4 nodes:
24  1  ELEMENT p
25  2  ELEMENT p
26  3  ELEMENT p
27  4  ELEMENT p
28  
29  ========================
30  Expression: id('chapter1')//p
31  Object is a Node Set :
32  Set contains 4 nodes:
33  1  ELEMENT p
34  2  ELEMENT p
35  3  ELEMENT p
36  4  ELEMENT p
37  
38  ========================
39  Expression: id('chapter1')/p[1]
40  Object is a Node Set :
41  Set contains 1 nodes:
42  1  ELEMENT p