| All Element Summary | ||||||||||||||
| xsl:analyze-string |
|
|||||||||||||
| xsl:apply-imports |
|
|||||||||||||
| xsl:apply-templates |
|
|||||||||||||
| xsl:attribute |
|
|||||||||||||
| xsl:attribute-set |
|
|||||||||||||
| xsl:call-template |
|
|||||||||||||
| xsl:character-map |
|
|||||||||||||
| xsl:choose |
|
|||||||||||||
| xsl:comment |
|
|||||||||||||
| xsl:copy |
|
|||||||||||||
| xsl:copy-of |
|
|||||||||||||
| xsl:decimal-format |
|
|||||||||||||
| xsl:declaration |
|
|||||||||||||
| xsl:document |
|
|||||||||||||
| xsl:element |
|
|||||||||||||
| xsl:fallback |
|
|||||||||||||
| xsl:for-each |
|
|||||||||||||
| xsl:for-each-group |
|
|||||||||||||
| xsl:function |
|
|||||||||||||
| xsl:if |
|
|||||||||||||
| xsl:import |
|
|||||||||||||
| xsl:import-schema |
|
|||||||||||||
| xsl:include |
|
|||||||||||||
| xsl:instruction |
|
|||||||||||||
| xsl:key |
|
|||||||||||||
| xsl:literal-result-element |
|
|||||||||||||
| xsl:matching-substring |
|
|||||||||||||
| xsl:message |
|
|||||||||||||
| xsl:namespace |
|
|||||||||||||
| xsl:namespace-alias |
|
|||||||||||||
| xsl:next-match |
|
|||||||||||||
| xsl:non-matching-substring |
|
|||||||||||||
| xsl:number |
|
|||||||||||||
| xsl:otherwise |
|
|||||||||||||
| xsl:output |
|
|||||||||||||
| xsl:output-character |
|
|||||||||||||
| xsl:param |
|
|||||||||||||
| xsl:perform-sort |
|
|||||||||||||
| xsl:preserve-space |
|
|||||||||||||
| xsl:processing-instruction |
|
|||||||||||||
| xsl:result-document |
|
|||||||||||||
| xsl:sequence |
|
|||||||||||||
| xsl:sort |
|
|||||||||||||
| xsl:strip-space |
|
|||||||||||||
| xsl:stylesheet |
|
|||||||||||||
| xsl:template |
|
|||||||||||||
| xsl:text |
|
|||||||||||||
| xsl:transform |
|
|||||||||||||
| xsl:value-of |
|
|||||||||||||
| xsl:variable |
|
|||||||||||||
| xsl:when |
|
|||||||||||||
| xsl:with-param |
|
|||||||||||||
| Complex Type Summary | ||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
| 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".
|
||||||
| Element Group Summary | ||||||||||
|
||||||||||
|
||||||||||
| Attribute Group Summary | ||||||||||
|
||||||||||
| <?xml version="1.0" encoding="UTF-8"?> <xs:schema elementFormDefault="qualified" targetNamespace="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <xs:annotation> 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 </xs:documentation> </xs:annotation> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <!-- The declaration of xml:space and xml:lang may need to be commented out because of problems processing the schema using various tools --> <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/> <!-- An XSLT stylesheet may contain an in-line schema within an xsl:import-schema element, so the Schema for schemas needs to be imported --> <xs:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="http://www.w3.org/2001/XMLSchema.xsd"/> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <xs:annotation> PART A: definitions of complex types and model groups used as the basis for element definitions </xs:documentation> </xs:annotation> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> </xs:complexType> <xs:complexContent> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexContent> </xs:restriction> </xs:complexContent> </xs:complexType> </xs:extension> </xs:complexContent> </xs:complexType> <xs:choice> </xs:choice> </xs:group> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <xs:annotation> PART B: definitions of individual XSLT elements Elements are listed in alphabetical order. </xs:documentation> </xs:annotation> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <xs:complexContent> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> <xs:sequence maxOccurs="unbounded" minOccurs="0"> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:sequence maxOccurs="unbounded" minOccurs="0"> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexContent> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:sequence> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:simpleContent> <xs:simpleType> </xs:simpleType> </xs:restriction> </xs:simpleContent> </xs:complexType> <xs:simpleContent> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:complexContent> </xs:restriction> </xs:complexContent> </xs:complexType> <xs:complexContent> <xs:sequence> <xs:choice maxOccurs="unbounded" minOccurs="0"> <!-- weaker than XSLT 1.0 --> </xs:choice> </xs:sequence> <xs:attribute default="unspecified" name="input-type-annotations" type="xsl:input-type-annotations-type"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <xs:annotation> PART C: definition of literal result elements There are three ways to define the literal result elements permissible in a stylesheet. (a) do nothing. This allows any element to be used as a literal result element, provided it is not in the XSLT namespace (b) declare all permitted literal result elements as members of the xsl:literal-result-element substitution group (c) redefine the model group xsl:result-elements to accommodate all permitted literal result elements. Literal result elements are allowed to take certain attributes in the XSLT namespace. These are defined in the attribute group literal-result-element-attributes, which can be included in the definition of any literal result element. </xs:documentation> </xs:annotation> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> </xs:attributeGroup> <xs:choice> </xs:choice> </xs:group> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <xs:annotation> PART D: definitions of simple types used in stylesheet attributes </xs:documentation> </xs:annotation> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <xs:annotation> This type is used for all attributes that allow an attribute value template. The general rules for the syntax of attribute value templates, and the specific rules for each such attribute, are described in the XSLT 2.0 Recommendation. </xs:documentation> </xs:annotation> </xs:simpleType> <xs:annotation> A string containing exactly one character. </xs:documentation> </xs:annotation> <xs:length value="1"/> </xs:restriction> </xs:simpleType> <xs:annotation> An XPath 2.0 expression. </xs:documentation> </xs:annotation> <xs:pattern value=".+"/> </xs:restriction> </xs:simpleType> <xs:annotation> Describes how type annotations in source documents are handled. </xs:documentation> </xs:annotation> <xs:enumeration value="preserve"/> <xs:enumeration value="strip"/> <xs:enumeration value="unspecified"/> </xs:restriction> </xs:simpleType> <xs:annotation> The level attribute of xsl:number: one of single, multiple, or any. </xs:documentation> </xs:annotation> <xs:enumeration value="single"/> <xs:enumeration value="multiple"/> <xs:enumeration value="any"/> </xs:restriction> </xs:simpleType> <xs:annotation> The mode attribute of xsl:apply-templates: either a QName, or #current, or #default. </xs:documentation> </xs:annotation> <xs:simpleType> <xs:enumeration value="#default"/> <xs:enumeration value="#current"/> </xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType> <xs:annotation> The mode attribute of xsl:template: either a list, each member being either a QName or #default; or the value #all </xs:documentation> </xs:annotation> <xs:union> <xs:simpleType> <xs:list> <xs:simpleType> <xs:simpleType> <xs:enumeration value="#default"/> </xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType> </xs:list> </xs:simpleType> <xs:simpleType> <xs:enumeration value="#all"/> </xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType> <xs:annotation> A list of NameTests, as defined in the XPath 2.0 Recommendation. Each NameTest is either a QName, or "*", or "prefix:*", or "*:localname" </xs:documentation> </xs:annotation> <xs:list> <xs:simpleType> <xs:simpleType> <xs:enumeration value="*"/> </xs:restriction> </xs:simpleType> <xs:simpleType> <xs:pattern value="\i\c*:\*"/> <xs:pattern value="\*:\i\c*"/> </xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType> </xs:list> </xs:simpleType> </xs:simpleType> <xs:simpleType> <xs:enumeration value="#all"/> </xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType> </xs:simpleType> <xs:annotation> The method attribute of xsl:output: Either one of the recognized names "xml", "xhtml", "html", "text", or a QName that must include a prefix. </xs:documentation> </xs:annotation> <xs:union> <xs:simpleType> <xs:enumeration value="xml"/> <xs:enumeration value="xhtml"/> <xs:enumeration value="html"/> <xs:enumeration value="text"/> </xs:restriction> </xs:simpleType> <xs:simpleType> <xs:pattern value="\c*:\c*"/> </xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType> <xs:annotation> A match pattern as defined in the XSLT 2.0 Recommendation. The syntax for patterns is a restricted form of the syntax for XPath 2.0 expressions. </xs:documentation> </xs:annotation> </xs:simpleType> <xs:annotation> Either a namespace prefix, or #default. Used in the xsl:namespace-alias element. </xs:documentation> </xs:annotation> <xs:simpleType> <xs:enumeration value="#default"/> </xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType> <xs:annotation> A list of QNames. Used in the [xsl:]use-attribute-sets attribute of various elements, and in the cdata-section-elements attribute of xsl:output </xs:documentation> </xs:annotation> </xs:simpleType> <xs:annotation> A QName. This schema does not use the built-in type xs:QName, but rather defines its own QName type. Although xs:QName would define the correct validation on these attributes, a schema processor would expand unprefixed QNames incorrectly when constructing the PSVI, because (as defined in XML Schema errata) an unprefixed xs:QName is assumed to be in the default namespace, which is not the correct assumption for XSLT. The data type is defined as a restriction of the built-in type Name, restricted so that it can only contain one colon which must not be the first or last character. </xs:documentation> </xs:annotation> <xs:pattern value="([^:]+:)?[^:]+"/> </xs:restriction> </xs:simpleType> <xs:annotation> The description of a data type, conforming to the SequenceType production defined in the XPath 2.0 Recommendation </xs:documentation> </xs:annotation> <xs:pattern value=".+"/> </xs:restriction> </xs:simpleType> </xs:simpleType> <xs:annotation> Describes different ways of type-annotating an element or attribute. </xs:documentation> </xs:annotation> <xs:enumeration value="preserve"/> <xs:enumeration value="strip"/> </xs:restriction> </xs:simpleType> <xs:annotation> Describes different ways of type-annotating an element or attribute. </xs:documentation> </xs:annotation> <xs:enumeration value="strict"/> <xs:enumeration value="lax"/> <xs:enumeration value="preserve"/> <xs:enumeration value="strip"/> </xs:restriction> </xs:simpleType> <xs:annotation> One of the values "yes" or "no". </xs:documentation> </xs:annotation> <xs:enumeration value="yes"/> <xs:enumeration value="no"/> </xs:restriction> </xs:simpleType> <xs:annotation> One of the values "yes" or "no" or "omit". </xs:documentation> </xs:annotation> <xs:enumeration value="yes"/> <xs:enumeration value="no"/> <xs:enumeration value="omit"/> </xs:restriction> </xs:simpleType> </xs:schema> |
| XML schema documentation generated with DocFlex/XML RE 1.8.7 using DocFlex/XML XSDDoc 2.7.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration. |