/ libxml2 / result / XPath / xptr / strpoint
strpoint
 1  
 2  ========================
 3  Expression: xpointer(start-point(string-range(//p,'multiple')))
 4  Object is a Location Set:
 5  1 :   Object is a point : index 1 in node    TEXT
 6        content=multiple tests
 7  
 8  
 9  ========================
10  Expression: xpointer(end-point(string-range(//p,'multiple')))
11  Object is a Location Set:
12  1 :   Object is a point : index 8 in node    TEXT
13        content=multiple tests
14  
15  
16  ========================
17  Expression: xpointer(start-point(string-range(//p,'test')))
18  Object is a Location Set:
19  1 :   Object is a point : index 10 in node    TEXT
20        content=a simple test
21  
22  2 :   Object is a point : index 10 in node    TEXT
23        content=multiple tests
24  
25  3 :   Object is a point : index 7 in node    TEXT
26        content=anced test
27  
28  
29  ========================
30  Expression: xpointer(end-point(string-range(//p,'test')))
31  Object is a Location Set:
32  1 :   Object is a point : index 13 in node    TEXT
33        content=a simple test
34  
35  2 :   Object is a point : index 13 in node    TEXT
36        content=multiple tests
37  
38  3 :   Object is a point : index 10 in node    TEXT
39        content=anced test
40  
41  
42  ========================
43  Expression: xpointer(start-point(string-range(//*,'multiple',1,0)))
44  Object is a Location Set:
45  1 :   Object is a point : index 1 in node    TEXT
46        content=multiple tests
47  
48  
49  ========================
50  Expression: xpointer(end-point(string-range(//*,'multiple',1,0)))
51  Object is a Location Set:
52  1 :   Object is a point : index 1 in node    TEXT
53        content=multiple tests
54  
55  
56  ========================
57  Expression: xpointer(start-point(string-range(//*,'multiple',1,1)))
58  Object is a Location Set:
59  1 :   Object is a point : index 1 in node    TEXT
60        content=multiple tests
61  
62  
63  ========================
64  Expression: xpointer(end-point(string-range(//*,'multiple',1,1)))
65  Object is a Location Set:
66  1 :   Object is a point : index 2 in node    TEXT
67        content=multiple tests
68  
69  
70  ========================
71  Expression: xpointer(start-point(string-range(//p,'test'))[1])
72  Object is a Location Set:
73  1 :   Object is a point : index 10 in node    TEXT
74        content=a simple test
75