schema-for-xslt30.xsd
This is an XSD 1.1 schema for XSLT 3.0 stylesheets. It defines all the elements that appear in the XSLT namespace; it also provides hooks that allow the inclusion of user-defined literal result elements, extension instructions, and top-level data elements.
This schema is available for use under the conditions of the W3C Software License published at http://www.w3.org/Consortium/Legal/copyright-software-19980720
The schema is organized as follows:
- PART A: definitions of complex types and model groups used as the basis for element definitions
- PART B: definitions of individual XSLT elements
- PART C: definitions for literal result elements
- PART D: definitions of simple types used in attribute definitions
The schema has a number of limitations:
- The XSLT specification allows additional elements and attributes to be present where forwards compatibility is invoked. This schema does not.
- The XSLT specification allows arbitrary content in a part of the stylesheet that is excluded by virtue of a use-when attribute. This schema does not.
- The handling of literal result elements in this schema is imperfect; although various options are allowed, none matches the specification exactly. For example, the content of a literal result element uses lax validation, which permits child elements in the XSLT namespace that have no declaration in this schema.
- The schema makes no attempt to check XPath expressions for syntactic or semantic correctness, nor to check that component references are resolved (for example that a template named in xsl:call-template has a declaration). Doing this in general requires cross-document validation, which is beyond the scope of XSD.
- The schema imports the schema for XSD 1.0 schema documents. In stylesheets that contain an inline XSD 1.1 schema, this import should be replaced with one for the schema for XSD 1.1 schema documents.
PART A: definitions of complex types and model groups used as the basis for element definitions
Schema document information
Namespace: http://www.w3.org/1999/XSL/Transform
File path: schema-for-xslt30.xsd
Properties:
- Element Form Default: qualified
Elements
Attributes
Complex types
xsl:element-only-versioned-element-type
xsl:sequence-constructor-and-select
xsl:sequence-constructor-or-select
Simple types
xsl:input-type-annotations-type
xsl:validation-strip-or-preserve