<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="xsl-elements" page="include" subpage=""/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: xsl:include</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: xsl:include"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>xsl:include</h1>
      <p>The <code>xsl:include</code> element is always used at the top level of the stylesheet. It has a
mandatory <code>href</code> attribute, which is a URL (absolute or relative) of another stylesheet
to be textually included within this one. The top-level elements of the included stylesheet
effectively replace the xsl:include element.</p>
      <p><code>xsl:include</code> may also be used at the top level of the included stylesheet, and so
      on recursively.</p>
      <p>To customize the way in which the <code>href</code> attribute is handled, a user-written
      <code>URIResolver</code> can be supplied. See also <a class="bodylink" href="../sourcedocs/xml-catalogs.xml">Using XML Catalogs</a>.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="import.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>