Templates View

The xsl:template is the basic element for stylesheets transformation. This view is only available during XSLT debugging sessions and shows all xsl:template instructions used by the transformation. By seeing the number of hits for each of the templates you get an idea of the stylesheet coverage by template rules with respect to the input source.

The Templates view

The contextual menu contains one action: Go to, which moves the selection in the editor panel to the line containing the XSLT template that is displayed on the selected line from the view.

Table 1. Templates columns
Column Description
Match The match attribute of the xsl:template.
Hits The number of hits for the xsl:template. Shows how many times the XSLT processor used this particular template.
Priority The template priority as established by XSLT processor.
Mode The mode attribute of the xsl:template.
Name The name attribute of the xsl:template.
Resource The resource file where the template is located.
Important: Remarks: