<?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 2011-12-09T20:47:22.916Z--><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 enterprise edition product Saxon-EE 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 <code>URIResolver</code> 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 <a class="bodylink" href="../javadoc/net/sf/saxon/Configuration.html"><code>Configuration</code></a>, 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="iterate.xml">Next</a></p> </td> </tr> </table> </body> </html>