Next / Previous / Contents / Shipman's homepage

10.4. xsl:call-template: Invoke another template

You can package up bits of XSLT in named templates, and call those templates with the xsl:call-template construct. Attributes:

name (required)

The name of the template you are calling.

If you want to pass arguments (parameters) to the template, use one xsl:with-param element for each value you want to pass.