Name
<xsl:import>
Synopsis
<xsl:import href="
address
"/>
Description
Specifies the URI of an XSL stylesheet whose rules should be imported into this stylesheet. The import statement must occur before any other elements in the stylesheet. If a conflict arises between matching rules, imported stylesheets are of lesser importance to those rules in the XSL stylesheet performing the import. In addition, if more than one stylesheet is imported into this document, the more recently imported stylesheet will be of greater importance than stylesheets imported before it.
<xsl:import href="webpage.xsl"/>
This example imports the stylesheet included in the file webpage.xsl.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access