1 2 ======================== 3 Expression: /child::* 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: /child::EXAMPLE 16 Object is a Node Set : 17 Set contains 1 nodes: 18 1 ELEMENT EXAMPLE 19 ATTRIBUTE prop1 20 TEXT 21 content=gnome is great 22 ATTRIBUTE prop2 23 TEXT 24 content=& linux too 25 26 ======================== 27 Expression: /child::EXAMPLE/child::head 28 Object is a Node Set : 29 Set contains 1 nodes: 30 1 ELEMENT head 31 32 ======================== 33 Expression: /child::EXAMPLE/child::* 34 Object is a Node Set : 35 Set contains 2 nodes: 36 1 ELEMENT head 37 2 ELEMENT chapter 38 39 ======================== 40 Expression: /child::EXAMPLE/child::head/child::title 41 Object is a Node Set : 42 Set contains 1 nodes: 43 1 ELEMENT title 44 45 ======================== 46 Expression: /child::EXAMPLE/child::head/child::title/child::text() 47 Object is a Node Set : 48 Set contains 1 nodes: 49 1 TEXT 50 content=Welcome to Gnome 51 52 ======================== 53 Expression: /child::EXAMPLE/child::head/node() 54 Object is a Node Set : 55 Set contains 3 nodes: 56 1 TEXT 57 content= 58 2 ELEMENT title 59 3 TEXT 60 content= 61 62 ======================== 63 Expression: /descendant::title 64 Object is a Node Set : 65 Set contains 2 nodes: 66 1 ELEMENT title 67 2 ELEMENT title 68 69 ======================== 70 Expression: /descendant::p/ancestor::chapter 71 Object is a Node Set : 72 Set contains 1 nodes: 73 1 ELEMENT chapter 74