XSLT <xsl:apply-imports>
Element
Definition and Usage
The <xsl:apply-imports>
element applies template rules from imported style sheets.
Template rules from imported style sheets have lower precedence than those from the main style sheet. If you want to use a template rule from an imported style sheet instead of an equivalent rule in the main style sheet, you would use the <xsl:apply-imports>
element.
Syntax
Attributes
None
Example
Suppose we have a style sheet named "standard.xsl" that contains template rules for the message element:
Another style sheet can import "standard.xsl" and modify the message element as follows:
The result will transform a message into a form element: