1
2========================
3Expression: xpointer(//chapitre[2])
4Object is empty (NULL)
5
6========================
7Expression: xpointer(//chapter[2])
8Object is a Node Set :
9Set contains 1 nodes:
101  ELEMENT chapter
11    ATTRIBUTE id
12      TEXT
13        content=chapter2
14
15========================
16Expression: xpointer(//chapitre[2])xpointer(//chapter[2])
17Object is a Node Set :
18Set contains 1 nodes:
191  ELEMENT chapter
20    ATTRIBUTE id
21      TEXT
22        content=chapter2
23
24========================
25Expression: xpointer(id("chapter1"))
26Object is empty (NULL)
27
28========================
29Expression: xpointer(//*[@id="chapter1"])
30Object is a Node Set :
31Set contains 1 nodes:
321  ELEMENT chapter
33    ATTRIBUTE id
34      TEXT
35        content=chapter1
36
37========================
38Expression: xpointer(id("chapter1"))xpointer(//*[@id="chapter1"])
39Object is a Node Set :
40Set contains 1 nodes:
411  ELEMENT chapter
42    ATTRIBUTE id
43      TEXT
44        content=chapter1
45