Variables

Variables can be used to save computed values.

Once created, variables can be used to generate content:

<a href="{$file}">...</a>

And control conditional processing:

<xsl:if test="$count = 3">...</xsl:if>