1<XPath>
2(//. | //@* | //namespace::*)[ancestor-or-self::e6]
3</XPath>