This is a schema for XSLT 2.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.
The schema is derived (with kind permission) from a schema for XSLT 1.0 stylesheets
produced by Asir S Vedamuthu of WebMethods Inc.
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
This schema does not attempt to define all the constraints that apply to a valid
XSLT 2.0 stylesheet module. It is the intention that all valid stylesheet modules
should conform to this schema; however, the schema is non-normative and in the event
of any conflict, the text of the Recommendation takes precedence.
This schema does not implement the special rules that apply when a stylesheet
has sections that use forwards-compatible-mode. In this mode, setting version="3.0"
allows elements from the XSLT namespace to be used that are not defined in XSLT 2.0.
Simplified stylesheets (those with a literal result element as the outermost element)
will validate against this schema only if validation starts in lax mode.
This version is dated 2007-03-16
Authors: Michael H Kay, Saxonica Limited
Jeni Tennison, Jeni Tennison Consulting Ltd.
2007-03-15: added xsl:document element
revised xsl:sequence element
see http://www.w3.org/Bugs/Public/show_bug.cgi?id=4237
All Other Element Summary |
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (10):
Content Model Elements (3):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (7):
Content Model Elements (1):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (9):
|
= |
|
|
= |
|
|
= |
|
|
= |
( xs:Name | ("#default" | "#current")) |
|
= |
|
|
= |
|
|
= |
|
|
= |
|
Content Model Elements (2):
|
|
Type: |
|
Content: |
mixed (allows character data), 12 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
|
Content Model Attributes (13):
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("strict" | "lax" | "preserve" | "strip") |
|
= |
|
|
= |
|
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (9):
Content Model Elements (1):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (8):
Content Model Elements (1):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (9):
Content Model Elements (1):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (7):
Content Model Elements (2):
|
|
Type: |
|
Content: |
mixed (allows character data), 7 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (8):
Content Model Elements (5):
|
|
Type: |
|
Content: |
mixed (allows character data), 11 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (12):
|
= |
("yes" | "no") : "yes" |
|
= |
|
|
= |
|
|
= |
|
|
= |
("yes" | "no") : "yes" |
|
= |
|
|
= |
|
|
= |
|
|
= |
("strict" | "lax" | "preserve" | "strip") |
|
= |
|
|
= |
|
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (11):
|
= |
("yes" | "no") : "yes" |
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("strict" | "lax" | "preserve" | "strip") |
|
= |
|
|
= |
|
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (18):
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
|
Type: |
|
Content: |
mixed (allows character data), 5 attributes, attr. wildcard |
Abstract: |
(may not be used directly in instance XML documents) |
Subst.Gr: |
substituted with xsl:attribute-set, xsl:character-map, xsl:decimal-format, xsl:function, xsl:import-schema, xsl:include, xsl:key, xsl:namespace-alias, xsl:output, xsl:preserve-space, xsl:strip-space, xsl:template |
Defined: |
|
Used: |
|
Content Model Attributes (6):
|
|
Type: |
|
Content: |
mixed (allows character data), 8 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (9):
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("strict" | "lax" | "preserve" | "strip") |
|
= |
|
|
= |
|
Content Model Elements (5):
|
|
Type: |
|
Content: |
mixed (allows character data), 12 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (13):
|
= |
|
|
= |
|
|
= |
|
|
= |
("yes" | "no") : "yes" |
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("strict" | "lax" | "preserve" | "strip") |
|
= |
|
|
= |
|
Content Model Elements (5):
|
|
Type: |
|
Content: |
mixed (allows character data), 6 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Used: |
|
Content Model Attributes (7):
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (8):
Content Model Elements (6):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (13):
Content Model Elements (6):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (10):
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("yes" | "no") : "yes" |
|
= |
|
|
= |
|
|
= |
|
Content Model Elements (6):
|
|
Type: |
|
Content: |
mixed (allows character data), 7 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (8):
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Defined: |
|
Includes: |
|
Used: |
|
Content Model Attributes (8):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (9):
Content Model Elements (1):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (8):
|
|
Type: |
|
Content: |
mixed (allows character data), 6 attributes, attr. wildcard |
Abstract: |
(may not be used directly in instance XML documents) |
Subst.Gr: |
substituted with xsl:analyze-string, xsl:apply-imports, xsl:apply-templates, xsl:attribute, xsl:call-template, xsl:choose, xsl:comment, xsl:copy, xsl:copy-of, xsl:document, xsl:element, xsl:fallback, xsl:for-each, xsl:for-each-group, xsl:if, xsl:message, xsl:namespace, xsl:next-match, xsl:number, xsl:perform-sort, xsl:processing-instruction, xsl:result-document, xsl:sequence, xsl:text, xsl:value-of |
Defined: |
|
Used: |
|
Content Model Attributes (7):
|
|
Type: |
|
Content: |
mixed (allows character data), 10 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (11):
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Abstract: |
(may not be used directly in instance XML documents) |
Defined: |
|
Used: |
|
Content Model Attributes (1):
Content Model Elements (1):
|
|
Type: |
|
Content: |
mixed (allows character data), 6 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Defined: |
|
Used: |
|
Content Model Attributes (7):
Content Model Elements (5):
|
|
Type: |
|
Content: |
mixed (allows character data), 8 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (9):
Content Model Elements (5):
|
|
Type: |
|
Content: |
mixed (allows character data), 8 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (9):
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (9):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (7):
Content Model Elements (2):
|
|
Type: |
|
Content: |
mixed (allows character data), 6 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Defined: |
|
Used: |
|
Content Model Attributes (7):
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (18):
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("single" | "multiple" | "any") : "single" |
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
|
Type: |
|
Content: |
mixed (allows character data), 6 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Defined: |
|
Used: |
|
Content Model Attributes (7):
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (23):
|
= |
("yes" | "no") |
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("yes" | "no") |
|
= |
|
|
= |
|
|
= |
("yes" | "no") |
|
= |
("yes" | "no") |
|
= |
|
|
= |
(("xml" | "xhtml" | "html" | "text") | xs:Name) |
|
= |
|
|
= |
|
|
= |
("yes" | "no") |
|
= |
("yes" | "no" | "omit") |
|
= |
("yes" | "no") |
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
|
Type: |
|
Content: |
|
Defined: |
|
Includes: |
|
Used: |
|
Content Model Attributes (9):
|
|
Type: |
|
Content: |
mixed (allows character data), 11 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Defined: |
|
Includes: |
|
Used: |
|
Content Model Attributes (12):
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("yes" | "no") |
|
= |
|
|
= |
("yes" | "no") |
|
= |
|
|
= |
|
|
= |
|
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (8):
Content Model Elements (6):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (8):
|
|
Type: |
|
Content: |
mixed (allows character data), 8 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (9):
Content Model Elements (5):
|
|
Type: |
|
Content: |
mixed (allows character data), 26 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (27):
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("strict" | "lax" | "preserve" | "strip") |
|
= |
|
|
= |
|
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (8):
Content Model Elements (1):
|
|
Type: |
|
Content: |
mixed (allows character data), 13 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Defined: |
|
Includes: |
|
Used: |
|
Content Model Attributes (14):
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("yes" | "no") |
|
= |
|
|
= |
|
|
= |
|
Content Model Elements (5):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (8):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (12):
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
( list of ( xs:Name | "#default") | "#all") |
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
Content Model Elements (6):
|
|
Type: |
|
Content: |
|
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (8):
|
= |
|
|
= |
("yes" | "no") : "no" |
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
|
Type: |
|
Content: |
mixed (allows character data), 9 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Subst.Gr: |
|
Defined: |
|
Includes: |
|
Used: |
never |
Content Model Attributes (10):
|
= |
|
|
= |
("yes" | "no") : "no" |
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
Content Model Elements (5):
|
|
Type: |
|
Content: |
mixed (allows character data), 9 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Defined: |
|
Includes: |
|
Used: |
|
Content Model Attributes (10):
Content Model Elements (5):
|
|
Type: |
|
Content: |
mixed (allows character data), 7 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Defined: |
|
Includes: |
|
Used: |
|
Content Model Attributes (8):
Content Model Elements (5):
|
|
Type: |
|
Content: |
mixed (allows character data), 10 attributes, attr. wildcard, 3 elements, 2 elem. wildcards |
Defined: |
|
Includes: |
|
Used: |
|
Content Model Attributes (11):
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
|
|
= |
("yes" | "no") |
|
= |
|
|
= |
|
|
= |
|
Content Model Elements (5):
|
Simple Type Summary |
|
This type is used for all attributes that allow an attribute value template.
|
|
A string containing exactly one character.
|
|
An XPath 2.0 expression.
|
|
Describes how type annotations in source documents are handled.
|
|
The level attribute of xsl:number:
one of single, multiple, or any.
|
|
The method attribute of xsl:output:
Either one of the recognized names "xml", "xhtml", "html", "text",
or a QName that must include a prefix.
|
|
The mode attribute of xsl:apply-templates:
either a QName, or #current, or #default.
|
|
The mode attribute of xsl:template:
either a list, each member being either a QName or #default;
or the value #all
|
|
A list of NameTests, as defined in the XPath 2.0 Recommendation.
|
|
A match pattern as defined in the XSLT 2.0 Recommendation.
|
|
|
|
|
|
Either a namespace prefix, or #default.
|
|
|
|
A QName.
|
|
A list of QNames.
|
|
The description of a data type, conforming to the
SequenceType production defined in the XPath 2.0 Recommendation
|
|
|
|
Describes different ways of type-annotating an element or attribute.
|
|
Describes different ways of type-annotating an element or attribute.
|
|
One of the values "yes" or "no".
|
|
One of the values "yes" or "no" or "omit".
|