Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

priority

 

Syntax

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

XSLT Equivalent

Usage Examples

None of the examples in this manual use this statement.