Name

<xsl:with-param>

Synopsis

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.

<xsl:with-param
   name="name"
   [select="expression"]>
   ...
</xsl:with-param>

Get Webmaster in a Nutshell, Third 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.