test-2.xpath 124 B

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