XML information pipe

Ihre Spezialisten für XML

Banner Werbung

XSLT 2.0 reference

XSLT  |  axes

ancestor | ancestor-or-self | attribute | child | descendant | descendant-or-self | following | following-sibling | namespace | parent | preceding | preceding-sibling | self |


ancestor-or-self

The context node and the ancestors of the context node; thus, the ancestor-or-self axis will always include the root node This is a reverse axis. When using predicates with a sequence of nodes selected using a reverse axis, it is important to remember that the context positions for such a sequence are assigned in reverse document order.

Locate in the official documentation

XSLT 2.0 reference