docs.rodeo

MDN Web Docs mirror

The <xsl:template> element defines an output producing template. This element must have either the match attribute or the name attribute set.

Syntax

<xsl:template
  match=PATTERN
  name=NAME
  mode=NAME
  priority=NUMBER>
  <xsl:param> [optional]
  TEMPLATE
</xsl:template>

Required Attributes

None.

Optional Attributes

Type

Top-level, must be the child of <xsl:stylesheet> or <xsl:transform>.

Specifications

XSLT, section 5.3.

Gecko support

Supported.

In this article

View on MDN