Axes

[Example 58] <C>

Axes play a very important role in XSLT. Study following examples and click on the name of each axis to get some insight. Links to preceding and namespace axis does not work yet as they were not implemented in XT so far.Compare: child axis (This stylesheet), descendant axis (This stylesheet), parent axis (This stylesheet), ancestor axis (This stylesheet), following-sibling axis (This stylesheet), preceding-sibling axis (This stylesheet), following axis (This stylesheet), preceding axis (This stylesheet), attribute axis (This stylesheet), namespace axis (This stylesheet), self axis (This stylesheet), descendant-or-self axis (This stylesheet), ancestor-or-self axis (This stylesheet).

[Example 27] <C>

All axes were used in this example.

[Example 59] <C>

Axis child:: can be be omitted from a location step as it is the default axis. Axis attribute:: can be abbreviatet to @. // is short for /descendant-or-self::, . is short for self:: and .. is short for parent::.