Using <xsl:import> to Insert an XSLT File with Lower Precedence

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XSLT Developer's Guide

Using <xsl:import> to Insert an XSLT File with Lower Precedence

In addition to the <xsl:include> mechanism discussed in the previous topic, the XSLT standard provides a more advanced import feature: the <xsl:import> element.

The <xsl:import> element resembles <xsl:include> in many respects. Both are empty, top-level elements, and they have the same syntax:

<xsl:import href="uri"/>

In this syntax, uri is the Uniform Resource Identifier (URI) of another style sheet whose contents are to be logically included within the main style sheet.