Templates can be invoked by name. An xsl:template element with a name attribute specifies a named template. If an xsl:template
element has a name attribute, it may, but need not, also have a match attribute. An xsl:call-template element invokes a template
by name; it has a required name attribute that identifies the template to be invoked. Unlike xsl:apply-templates, xsl:call-template
does not change the current node or the current node list.
Examples (xslt:xml): Overview
7:2
8:2Interactive xlab:
|