The context in XSL (ie the node where you are)
The context can be considered as:
Xsl | File System | Tips |
---|---|---|
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:
<xsl:template match="/">
<xsl:for-each select="$resultPath/resultFiles/resultFile">