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.
Table 12.7. Templates details
Column | Description |
---|---|
Match | Match attribute of the <xsl:template> . |
Hits | Number of hits for the <xsl:template> .
Shows how many times the XSLT processor used this particular template. |
Priority | Template priority as established by XSLT processor. |
Mode | Mode attribute of the <xsl:template> . |
Name | Name attribute of the <xsl:template> . |
Resource | Resource file where template is located. |
Clicking a record highlights that template definition inside resource.
Saxon only shows the applied templates having at least one hit from the processor. Xalan shows all defined templates, with or without hits.
Template table values can be sorted by clicking the corresponding column header (ascending, descending, no sort)
Xalan shows the "built-in" rules.