Name

<xsl:import>

Synopsis

This specifies the URI of an XSL style sheet whose rules should be imported into this style sheet. The import statement must occur before any other elements in the style sheet. If a conflict arises between matching rules, rules in the XSL style sheet performing the import take precedence over rules in the imported style sheet. In addition, if more than one style sheet is imported into this document, the most recently imported style sheet takes precedence over stylesheets imported before it:

<xsl:import href="webpage.xsl"/>

This example imports the style sheet found in the webpage.xsl file.

<xsl:import href="address"/>

Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.