May 28, 2021 XSL T
When matching nodes, you need to use some useful rules that are included in the XSLT's element of slt;xsl:template.gt.
The element contains rules to be applied when matching a specified node.
The match property is used to associate a template to an XML element. The match property can also be used to define templates for all branches of an XML document (for example, match"/" defines the entire document).
Note: the top-level element (top-level element) is the top-level element.
Attributes | value | describe |
---|---|---|
name | name |
Optional.Define the name for the template.
Note: If this property is omitted, you must set the Match property. |
match | pattern |
Optional.Matching mode of the template.
Note: If this property is omitted, you must set the name property. |
mode | mode | Optional.Template specified mode. |
priority | number | Optional.A number of priority numbers representing the template. |