Go to standardAxis:
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
Examples (xslt:xml): Overview
88:8
Interactive xlab: [xsl:value-of] [xsl:template] [xpath axes] [xpath]