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