Imported Upstream version 2.8.0
[platform/upstream/libxml2.git] / result / XPath / xptr / strrange2
1
2 ========================
3 Expression: xpointer(string-range(//p, 'test', 2))
4 Object is a Location Set:
5 1 :   Object is a range :
6   From index 11 in node
7     TEXT
8       content=a simple test
9   To index 13 in node
10     TEXT
11       content=a simple test
12
13 2 :   Object is a range :
14   From index 11 in node
15     TEXT
16       content=multiple tests
17   To index 13 in node
18     TEXT
19       content=multiple tests
20
21 3 :   Object is a range :
22   From index 8 in node
23     TEXT
24       content=anced test
25   To index 10 in node
26     TEXT
27       content=anced test
28
29
30 ========================
31 Expression: xpointer(string-range(//p, 'test', 2, 2))
32 Object is a Location Set:
33 1 :   Object is a range :
34   From index 11 in node
35     TEXT
36       content=a simple test
37   To index 12 in node
38     TEXT
39       content=a simple test
40
41 2 :   Object is a range :
42   From index 11 in node
43     TEXT
44       content=multiple tests
45   To index 12 in node
46     TEXT
47       content=multiple tests
48
49 3 :   Object is a range :
50   From index 8 in node
51     TEXT
52       content=anced test
53   To index 9 in node
54     TEXT
55       content=anced test
56
57
58 ========================
59 Expression: xpointer(string-range(//p, 'difficult', 1, 0))
60 Object is a Location Set:
61 1 :   Object is a collapsed range :
62   index 3 in node
63     TEXT
64       content=a diff