The <xsl: template> element should contain at least a match or a name attribute. The match attribute is used to match a pattern. The name attribute is used to give a name to a template. You can also use both in the same template if you want to.
The following instructions were written for the Resource perspective, but they will also work in many other perspectives.
Follow these steps to add an <xsl:template> element to your XSL file. The <xsl:template> element will be displayed in a read-only field as it is created: