1.1 ! misho 1: ! 2: <XPath xmlns:n1="http://example.net" > ! 3: (//. | //@* | //namespace::*) ! 4: [ ! 5: ancestor-or-self::n1:elem2 ! 6: ] ! 7: </XPath> ! 8: