xsl:with-param
Used to define an actual parameter to a template. It may be used within an xsl:call-template, xsl:apply-templates, or xsl:apply-imports element.
Content:
sequence-constructor
Permitted parent elements:
xsl:apply-templates
; xsl:apply-imports
; xsl:call-template
; xsl:next-match
Attributes
|
|
The name of the parameter. |
|
|
The value of the parameter may be defined
either by a |
|
|
|
|
|
The attribute |
Details
For an example, see xsl:template.
In XSLT 3.0, xsl:with-param
can also appear as a child of xsl:evaluate, to define
variables available for use within the dynamically-evaluated XPath expression,
and as a child of xsl:next-iteration, to define values of iteration parameters to be used
on the next iteration.