Skip to content


Used to identify a schema containing definitions of types that are referred to in the stylesheet.

Available in XSLT 2.0 and later versions. Requires Saxon-EE.


Specifies the target namespace of the schema to be imported. The attribute should be omitted when importing a schema with no target namespace.
Specifies where the schema document can be found. This URI is passed through the URIResolver in the same way as the URIs used on xsl:include and xsl:import. The attribute can be omitted only if a schema for the required namespace has already been loaded in the Configuration, for example if it has already been imported from another stylesheet module.

Notes on the Saxon implementation⚓︎

The xsl:import-schema declaration requires a schema-aware processor, so is only available in Saxon-EE. For further information see Schema Processing.

See also⚓︎