1 2 ======================== 3 Expression: /doc/elem/namespace::node()/.. 4 Object is a Node Set : 5 Set contains 1 nodes: 6 1 ELEMENT elem 7 namespace ns2 href=nsuri2 8 9 ======================== 10 Expression: /doc/elem/namespace::*/self::node()[true()] 11 Object is a Node Set : 12 Set contains 3 nodes: 13 1 namespace xml href=http://www.w3.org/XML/1998/namespace 14 2 namespace ns1 href=nsuri1 15 3 namespace ns2 href=nsuri2 16 17 ======================== 18 Expression: //*[namespace::ns1] 19 Object is a Node Set : 20 Set contains 4 nodes: 21 1 ELEMENT doc 22 namespace ns1 href=nsuri1 23 2 ELEMENT preceding 24 3 ELEMENT elem 25 namespace ns2 href=nsuri2 26 4 ELEMENT following 27 28 ======================== 29 Expression: /doc/elem/namespace::ns2/following::* 30 Object is a Node Set : 31 Set contains 1 nodes: 32 1 ELEMENT following 33 34 ======================== 35 Expression: /doc/elem/namespace::ns2/preceding::* 36 Object is a Node Set : 37 Set contains 1 nodes: 38 1 ELEMENT preceding 39