Standard: http://www.w3.org/TR/xpath#axes

ancestor-or-self::

Standard excerpt:

the ancestor-or-self axis contains the context node and the ancestors of the context node; thus, the ancestor axis will always include the root node