XSLT - (Current) Context
The context in XSL (ie the node where you are)
The context can be considered as:
|a set of nodes||a directory|
|a single member of the set||a file||The context can also be considered as a single member of the set, as each member is processed one by one.|
For example, the expression LIST\@type refers to the type attribute of the current LIST node.
From the current context, other expressions in the template are evaluated.
The context can be change with the following Xsl function using an Xpath expression:
- template (and its match attribute):