Defining a name for a template, makes it passible to 'call' this template directly by name.
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template name="test"> ... </xsl:template> </xsl:stylesheet>
Use the call-template element to invoke a named template.
<xsl:call-template name="test"/>
The match and name attribute can be specified on the same template.