Annotation of embedaddon/libxml2/result/XPath/xptr/strrange, revision 1.1.1.1
1.1 misho 1:
2: ========================
3: Expression: xpointer(string-range(//p, 'simple'))
4: Object is a Location Set:
5: 1 : Object is a range :
6: From index 3 in node
7: TEXT
8: content=a simple test
9: To index 8 in node
10: TEXT
11: content=a simple test
12:
13:
14: ========================
15: Expression: xpointer(string-range(//p, 'test'))
16: Object is a Location Set:
17: 1 : Object is a range :
18: From index 10 in node
19: TEXT
20: content=a simple test
21: To index 13 in node
22: TEXT
23: content=a simple test
24:
25: 2 : Object is a range :
26: From index 10 in node
27: TEXT
28: content=multiple tests
29: To index 13 in node
30: TEXT
31: content=multiple tests
32:
33: 3 : Object is a range :
34: From index 7 in node
35: TEXT
36: content=anced test
37: To index 10 in node
38: TEXT
39: content=anced test
40:
41:
42: ========================
43: Expression: xpointer(string-range(//p, 'difficult'))
44: Object is a Location Set:
45: 1 : Object is a range :
46: From index 3 in node
47: TEXT
48: content=a diff
49: To index 4 in node
50: TEXT
51: content=cult one
52:
53:
54: ========================
55: Expression: xpointer(string-range(//p, 'spanning'))
56: Object is a Location Set:
57: 1 : Object is a range :
58: From index 3 in node
59: TEXT
60: content=a span
61: To index 3 in node
62: TEXT
63: content=ing one
64:
65:
66: ========================
67: Expression: xpointer(string-range(//p, 'unbalanced'))
68: Object is a Location Set:
69: 1 : Object is a range :
70: From index 8 in node
71: TEXT
72: content=and an unbal
73: To index 5 in node
74: TEXT
75: content=anced test
76:
77:
78: ========================
79: Expression: xpointer(string-range(//seq, ''))
80: Object is a Location Set:
81: 1 : Object is a collapsed range :
82: index 1 in node
83: TEXT
84: content=123
85: 2 : Object is a collapsed range :
86: index 2 in node
87: TEXT
88: content=123
89: 3 : Object is a collapsed range :
90: index 3 in node
91: TEXT
92: content=123
93: 4 : Object is a collapsed range :
94: index 4 in node
95: TEXT
96: content=123
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>