xsl:import-schema
Used to identify a schema containing definitions of types that are referred to in the stylesheet.
Category: declaration
Content: xs:schema?
Permitted parent elements:
xsl:package
; xsl:stylesheet
; xsl:transform
Attributes
|
| New in XSLT 4.0. Specifies the role name for the
imported schema, so that it is then used only in parts of the stylesheet within
the scope of an |
|
| 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 |
Saxon availability
Available in XSLT 2.0 and later versions. Requires Saxon-EE. Available for all platforms.
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 Using XML Schema (XSD).
The XSLT 4.0 attribute role is implemented since Saxon
13.