| FlexDoc/XML XSDDoc Demo | XML Schema for XSLT 2.0 & XSD 1.0

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

simpleType "xsl:QName"

Namespace: | http://www.w3.org/1999/XSL/Transform
Derived By: | restriction of xs:Name
Defined: | globally in schema-for-xslt20.xsd; see XML source
Referenced: | by 23 locations

Simple Content Detail:

restriction of xs:Name

Pattern: | ([^:]+:)?[^:]+

Description
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.
Related Components

- Known Direct Subtypes (5):
  xsl:method, xsl:mode, xsl:modes, xsl:nametests, xsl:QNames
- All Direct / Indirect Based Attributes (31):

  xsl:apply-templates/@mode, xsl:attribute-set/@name, xsl:attribute-set/@use-attribute-sets, xsl:attribute/@type, xsl:call-template/@name, xsl:character-map/@name, xsl:character-map/@use-character-maps, xsl:copy-of/@type, xsl:copy/@type, xsl:copy/@use-attribute-sets, xsl:decimal-format/@name, xsl:document/@type, xsl:element/@type, xsl:element/@use-attribute-sets, xsl:function/@name, xsl:key/@name, | xsl:literal-result-element-attributes/@xsl:type, xsl:literal-result-element-attributes/@xsl:use-attribute-sets, xsl:output/@cdata-section-elements, xsl:output/@method, xsl:output/@name, xsl:output/@use-character-maps, xsl:param/@name, xsl:preserve-space/@elements, xsl:result-document/@type, xsl:result-document/@use-character-maps, xsl:strip-space/@elements, xsl:template/@mode, xsl:template/@name, xsl:variable/@name, xsl:with-param/@name

Referenced By

- In derivations of types (5):

  xsl:method (as restriction base), xsl:mode (as union member), xsl:modes (as union member), | xsl:nametests (as union member), xsl:QNames (as list item type)

- As direct type of attributes within elements (17):

  xsl:attribute-set/@name, xsl:attribute/@type, xsl:call-template/@name, xsl:character-map/@name, xsl:copy-of/@type, xsl:copy/@type, xsl:decimal-format/@name, xsl:document/@type, xsl:element/@type, | xsl:function/@name, xsl:key/@name, xsl:output/@name, xsl:param/@name, xsl:result-document/@type, xsl:template/@name, xsl:variable/@name, xsl:with-param/@name

- As direct type of attributes within attributeGroups (1):
  xsl:literal-result-element-attributes/@xsl:type

Type Definition Detail

Type Derivation Tree xs:anySimpleType (restriction) xs:string (restriction) xs:normalizedString (restriction) xs:token (restriction) xs:Name (restriction) xsl:QName

Derivation: | restriction of xs:Name
Facets: |
pattern: | ([^:]+:)?[^:]+

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

XML schema documentation generated with FlexDoc/XML 1.15 using FlexDoc/XML XSDDoc 3.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.