XPath Tutorial
Example XPath 20.2 - //GGG/ancestor-or-self::*
http://www.zvon.org/xxl/XPathTutorial/Output/example20_1_png.html