1 2 ======================== 3 Expression: s 4 Object is a Node Set : 5 Set contains 1 nodes: 6 1 ELEMENT s 7 ATTRIBUTE p 8 TEXT 9 content=root 10 11 ======================== 12 Expression: s|p1/s 13 Object is a Node Set : 14 Set contains 2 nodes: 15 1 ELEMENT s 16 ATTRIBUTE p 17 TEXT 18 content=root 19 2 ELEMENT s 20 ATTRIBUTE p 21 TEXT 22 content=p1 23 24 ======================== 25 Expression: s|/root/p1/s 26 Object is a Node Set : 27 Set contains 2 nodes: 28 1 ELEMENT s 29 ATTRIBUTE p 30 TEXT 31 content=root 32 2 ELEMENT s 33 ATTRIBUTE p 34 TEXT 35 content=p1 36 37 ======================== 38 Expression: /root/p1/s|s 39 Object is a Node Set : 40 Set contains 2 nodes: 41 1 ELEMENT s 42 ATTRIBUTE p 43 TEXT 44 content=root 45 2 ELEMENT s 46 ATTRIBUTE p 47 TEXT 48 content=p1 49 50 ======================== 51 Expression: //s 52 Object is a Node Set : 53 Set contains 3 nodes: 54 1 ELEMENT s 55 ATTRIBUTE p 56 TEXT 57 content=root 58 2 ELEMENT s 59 ATTRIBUTE p 60 TEXT 61 content=p1 62 3 ELEMENT s 63 ATTRIBUTE p 64 TEXT 65 content=p2 66 67 ======================== 68 Expression: //s|p1 69 Object is a Node Set : 70 Set contains 4 nodes: 71 1 ELEMENT s 72 ATTRIBUTE p 73 TEXT 74 content=root 75 2 ELEMENT p1 76 3 ELEMENT s 77 ATTRIBUTE p 78 TEXT 79 content=p1 80 4 ELEMENT s 81 ATTRIBUTE p 82 TEXT 83 content=p2 84 85 ======================== 86 Expression: p1|//s 87 Object is a Node Set : 88 Set contains 4 nodes: 89 1 ELEMENT s 90 ATTRIBUTE p 91 TEXT 92 content=root 93 2 ELEMENT p1 94 3 ELEMENT s 95 ATTRIBUTE p 96 TEXT 97 content=p1 98 4 ELEMENT s 99 ATTRIBUTE p 100 TEXT 101 content=p2 102