Name
<xsl:with-param>
Synopsis
<xsl:with-param name=”name
" [select=”expression
“]> ... </xsl:with-param>
The xsl:with-param
element passes a
named parameter to a template that expects it. It can be a
child either of xsl:apply-templates
or xsl:call-template
. The parameter
is received in the xsl:template
by
an xsl:param
element with the same
name. If a template expects to receive a particular parameter
and doesn’t get it, then it can take the default from
the value of the xsl:param
element instead.
Get XML Pocket Reference, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.