files/en-us/web/xml/xslt/reference/element/template/index.md
The <xsl:template> element defines an output producing template. This element must have either the match attribute or the name attribute set.
<xsl:template
match=PATTERN
name=NAME
mode=NAME
priority=NUMBER>
<xsl:param> [optional]
TEMPLATE
</xsl:template>
None.
match
name attribute.name
<xsl:call-template> element.mode
<xsl:apply-templates> element. This is useful for processing the same information in multiple ways.priority
Infinity. The processor uses this number when more than one template matches the same node.Top-level, must be the child of <xsl:stylesheet> or <xsl:transform>.
XSLT, section 5.3.
Supported.