X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

XSLT <xsl:call-template> Element


XSLT Element Reference Complete XSLT Element Reference

Definition and Usage

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


Syntax

<xsl:call-template name="templatename">

  <!-- Content:xsl:with-param* -->

</xsl:call-template>

Attributes

Attribute Value Description
name templatename Required. Specifies the name of the template to be called

Example 1

Call a template named "description" when the processor finds a car element:

<xsl:template match="car">
  <xsl:call-template name="description"/>
</xsl:template>


XSLT Element Reference Complete XSLT Element Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook