1 2======================== 3Expression: /following::* 4Object is a Node Set : 5Set contains 0 nodes: 6 7======================== 8Expression: /preceding::* 9Object is a Node Set : 10Set contains 0 nodes: 11 12======================== 13Expression: /child::EXAMPLE/preceding::* 14Object is a Node Set : 15Set contains 0 nodes: 16 17======================== 18Expression: /child::EXAMPLE/following::* 19Object is a Node Set : 20Set contains 0 nodes: 21 22======================== 23Expression: /child::EXAMPLE/child::chapter[3]/preceding::* 24Object is a Node Set : 25Set contains 10 nodes: 261 ELEMENT head 272 ELEMENT title 283 ELEMENT chapter 29 ATTRIBUTE id 30 TEXT 31 content=chapter1 324 ELEMENT title 335 ELEMENT p 346 ELEMENT image 35 ATTRIBUTE href 36 TEXT 37 content=linus.gif 387 ELEMENT p 398 ELEMENT chapter 40 ATTRIBUTE id 41 TEXT 42 content=chapter2 439 ELEMENT title 4410 ELEMENT p 45 46======================== 47Expression: /child::EXAMPLE/child::chapter[3]/following::* 48Object is a Node Set : 49Set contains 6 nodes: 501 ELEMENT chapter 51 ATTRIBUTE id 52 TEXT 53 content=chapter4 542 ELEMENT title 553 ELEMENT p 564 ELEMENT chapter 57 ATTRIBUTE id 58 TEXT 59 content=chapter5 605 ELEMENT title 616 ELEMENT p 62 63======================== 64Expression: /child::EXAMPLE/child::chapter[1]/image/preceding::* 65Object is a Node Set : 66Set contains 4 nodes: 671 ELEMENT head 682 ELEMENT title 693 ELEMENT title 704 ELEMENT p 71 72======================== 73Expression: /child::EXAMPLE/child::chapter[1]/image/following::* 74Object is a Node Set : 75Set contains 13 nodes: 761 ELEMENT p 772 ELEMENT chapter 78 ATTRIBUTE id 79 TEXT 80 content=chapter2 813 ELEMENT title 824 ELEMENT p 835 ELEMENT chapter 84 ATTRIBUTE id 85 TEXT 86 content=chapter3 876 ELEMENT title 887 ELEMENT p 898 ELEMENT chapter 90 ATTRIBUTE id 91 TEXT 92 content=chapter4 939 ELEMENT title 9410 ELEMENT p 9511 ELEMENT chapter 96 ATTRIBUTE id 97 TEXT 98 content=chapter5 9912 ELEMENT title 10013 ELEMENT p 101