ancestor-or-self::

W3C Working Draft

the ancestor-or-self axis contains the context node and ancestors of the context node; thus the context node is the first node on the axis, and the context node's parent the second; parent here is defined the same as with the parent axis.