Name
<xsl:calltemplate>
Synopsis
This function invokes a template by its name. It is possible to
specify parameters in the body of this element. The following example
calls the template image
while passing the
parameters width
and height
:
<xsl:call-template name="image">
<xsl:with-param name="width">120</xsl:with-param>
<xsl:with-param name="height">60</xsl:with-param>
</xsl:call-template>
<xsl:call-template
name="name
">
...
</xsl:call-template>
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.