XML information pipe
Ihre Spezialisten für XML
ancestor-or-self:: | ancestor:: | attribute:: | child:: | descendant-or-self:: | descendant:: | following-sibling:: | following:: | namespace:: | parent:: | preceding-sibling:: | preceding:: | self:: |
ancestor::
the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; thus, the ancestor axis will always include the root node, unless the context node is the root node
Locate in the official documentation