ON THIS PAGE
xsl:variable
Syntax
<xsl:variable name="qualified-name" select="expression"> ... </xsl:variable>
Description
Declare a local or global variable. If the <xsl:variable>
instruction appears at the top level
of the style sheet as a child of the <xsl:stylesheet>
document element, it is a global variable with a scope that includes
the entire style sheet. Otherwise, it is a local variable with a scope
of its following siblings and their descendants.
Attributes
name | Specifies the
name of the variable. After declaration, the variable can be referred
to within XPath expressions using this
name, prefixed with the |
select | (Optional) Determines
the value of the variable. The value of the variable is determined
either by the |