W3Schools.com

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
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE