1 2======================== 3Expression: /EXAMPLE 4Object is a Node Set : 5Set contains 1 nodes: 61 ELEMENT EXAMPLE 7 ATTRIBUTE prop1 8 TEXT 9 content=gnome is great 10 ATTRIBUTE prop2 11 TEXT 12 content=& linux too 13 14======================== 15Expression: /EXAMPLE/head 16Object is a Node Set : 17Set contains 1 nodes: 181 ELEMENT head 19 20======================== 21Expression: /EXAMPLE/chapter[1] 22Object is a Node Set : 23Set contains 1 nodes: 241 ELEMENT chapter 25 26======================== 27Expression: //p 28Object is a Node Set : 29Set contains 2 nodes: 301 ELEMENT p 312 ELEMENT p 32 33======================== 34Expression: //chapter/image 35Object is a Node Set : 36Set contains 1 nodes: 371 ELEMENT image 38 ATTRIBUTE href 39 TEXT 40 content=linus.gif 41 42======================== 43Expression: //p/text() 44Object is a Node Set : 45Set contains 2 nodes: 461 TEXT 47 content=bla bla bla ... 482 TEXT 49 content=... 50 51======================== 52Expression: //p/text()[position()=1] 53Object is a Node Set : 54Set contains 2 nodes: 551 TEXT 56 content=bla bla bla ... 572 TEXT 58 content=... 59 60======================== 61Expression: //p/text()[position()=last()] 62Object is a Node Set : 63Set contains 2 nodes: 641 TEXT 65 content=bla bla bla ... 662 TEXT 67 content=... 68 69======================== 70Expression: (//p/text())[position()=1] 71Object is a Node Set : 72Set contains 1 nodes: 731 TEXT 74 content=bla bla bla ... 75 76======================== 77Expression: (//p/text())[position()=last()] 78Object is a Node Set : 79Set contains 1 nodes: 801 TEXT 81 content=... 82