Annotation of embedaddon/libxml2/result/XPath/tests/simpleabbr, revision 1.1.1.1
1.1 misho 1:
2: ========================
3: Expression: /EXAMPLE
4: Object is a Node Set :
5: Set contains 1 nodes:
6: 1 ELEMENT EXAMPLE
7: ATTRIBUTE prop1
8: TEXT
9: content=gnome is great
10: ATTRIBUTE prop2
11: TEXT
12: content=& linux too
13:
14: ========================
15: Expression: /EXAMPLE/head
16: Object is a Node Set :
17: Set contains 1 nodes:
18: 1 ELEMENT head
19:
20: ========================
21: Expression: /EXAMPLE/chapter[1]
22: Object is a Node Set :
23: Set contains 1 nodes:
24: 1 ELEMENT chapter
25:
26: ========================
27: Expression: //p
28: Object is a Node Set :
29: Set contains 2 nodes:
30: 1 ELEMENT p
31: 2 ELEMENT p
32:
33: ========================
34: Expression: //chapter/image
35: Object is a Node Set :
36: Set contains 1 nodes:
37: 1 ELEMENT image
38: ATTRIBUTE href
39: TEXT
40: content=linus.gif
41:
42: ========================
43: Expression: //p/text()
44: Object is a Node Set :
45: Set contains 2 nodes:
46: 1 TEXT
47: content=bla bla bla ...
48: 2 TEXT
49: content=...
50:
51: ========================
52: Expression: //p/text()[position()=1]
53: Object is a Node Set :
54: Set contains 2 nodes:
55: 1 TEXT
56: content=bla bla bla ...
57: 2 TEXT
58: content=...
59:
60: ========================
61: Expression: //p/text()[position()=last()]
62: Object is a Node Set :
63: Set contains 2 nodes:
64: 1 TEXT
65: content=bla bla bla ...
66: 2 TEXT
67: content=...
68:
69: ========================
70: Expression: (//p/text())[position()=1]
71: Object is a Node Set :
72: Set contains 1 nodes:
73: 1 TEXT
74: content=bla bla bla ...
75:
76: ========================
77: Expression: (//p/text())[position()=last()]
78: Object is a Node Set :
79: Set contains 1 nodes:
80: 1 TEXT
81: content=...
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>