Navigation
Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- apply-templates
- call
- match
- mode
- template
- with
- xsl:template
priority
Syntax
priority number;
Release Information
Statement introduced in version 1.0 of the SLAX language.
Description
If more than one template matches a node in the specified mode, this statement determines which template is used. The highest priority wins. If no priority is specified explicitly, the priority of a template is determined by the match statement.
This statement is comparable to the priority attribute of the <xsl:template> element. You can include this statement inside a SLAX match statement.
SLAX Example
match * {
priority 10;
<output> .;
}
XSLT Equivalent
<xsl:template match="*" priority="10">
<output>
<xsl:value-of select="."/>
</output>
</xsl:template>
Usage Examples
None of the examples in this manual use this statement.
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- apply-templates
- call
- match
- mode
- template
- with
- xsl:template
Published: 2013-03-05
Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- apply-templates
- call
- match
- mode
- template
- with
- xsl:template