<?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="import-schema" subpage=""/>
      <!--
           Generated at 2010-10-29T18:20:48.427+01:00--><title>Saxonica: XSLT and XQuery Processing: xsl:import-schema</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: xsl:import-schema"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>xsl:import-schema</h1>
      <p>Saxon implements the <code>xsl:import-schema</code> declaration in the schema-aware
product Saxon-SA only.</p>
      <p>The <code>namespace</code> attribute specifies the target namespace of the schema to be
imported. The attribute should be omitted when importing a schema with no target namespace.</p>
      <p>The <code>schema-location</code> attribute specifies where the schema document can be
found. This URI is passed through the URIResolver in the same way as the URIs used on
<code>xsl:include</code> and <code>xsl:import</code>. The attribute can be omitted only if
a schema for the required namespace has already been loaded in the <code>Configuration</code>,
for example if it has already been imported from another stylesheet module.</p>
      <p>For further information see <a class="bodylink" href="../schema-processing/intro.xml">Schema Processing</a>.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="key.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>