XSLT <xsl:call-template> Element

## XSLT Basic

XSLT HOME XSL Languages XSLT Introduction XSLT Browsers XSLT Transform XSLT <template> XSLT <value-of> XSLT <for-each> XSLT <sort> XSLT <if> XSLT <choose> XSLT Apply

## XSLT Advanced

XSLT on the Client XSLT on the Server XSLT Edit XML XSLT Editors XSLT Summary

## XSLT Examples

XSLT Examples

## XSLT References

XSLT Elements XSLT Functions

# XSLT <xsl:call-template> Element

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>

Complete XSLT Element Reference

## Your suggestion:

Your E-mail (optional):

Page address:

Description:

Close [X]

## Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

## WEB HOSTING

Best Web Hosting UK Reseller Hosting Wow! $5 SSD Hosting

## WEB BUILDING

Download XML Editor
FREE Website BUILDER FREE Website Creator

## WEB RESOURCES

Web Statistics Web Validation

## SHARE THIS PAGE