W3cubDocs

/XSLT & XPath

xsl:call-template

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

The <xsl:call-template> element invokes a named template.

Syntax

<xsl:call-template name=NAME>
	<xsl:with-param> [optional]
</xsl:call-template> 

Required Attribute

name
Specifies the name of the template you wish to invoke.

Optional Attributes

None.

Type

Instruction, appears within a template.

Defined

XSLT, section 6.

Gecko support

Supported.

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XSLT/call-template