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

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

element <xs:restriction>

Namespace: | http://www.w3.org/2001/XMLSchema
Type: | anonymous complexType (extension of xs:annotated)
Content: | complex, 2 attributes, attr. wildcard, 14 elements
Block: | "#all" (blocks all substitutions of this element or its type)
Defined: | globally in XMLSchema.xsd; see XML source
Includes: | declaration of 1 attribute
Referenced: | by 1 location

Component Diagram

XML Representation Summary
<xs:restriction
id | = | xs:ID
base | = | xs:QName
| {any attribute from non-schema namespace}
| >
Content: | xs:annotation?, xs:simpleType?, (xs:minExclusive | xs:minInclusive | xs:maxExclusive | xs:maxInclusive | xs:totalDigits | xs:fractionDigits | xs:length | xs:minLength | xs:maxLength | xs:enumeration | xs:whiteSpace | xs:pattern)*
</xs:restriction>

Attributes:

Attribute | Type / Value | Default | Required? | Declared In | Description
id | xs:ID |  | no | xs:annotated |
base | xs:QName |  | no | this |
{any attribute} | from non-schema namespace |  | no | xs:openAttrs |

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
SEQUENCE |  | 1..1 |  |  |
xs:annotation | anonymous | 0..1 | no | xs:annotated | See: http://www.w3.org/TR/xmlschema-1/#element-annotation
xs:simpleType | xs:localSimpleType | 0..1 | no | xs:simpleRestrictionModel |
CHOICE |  | 0..∞ |  | xs:facets |
xs:minExclusive | xs:facet | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-minExclusive
xs:minInclusive | xs:facet | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-minInclusive
xs:maxExclusive | xs:facet | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-maxExclusive
xs:maxInclusive | xs:facet | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-maxInclusive
xs:totalDigits | anonymous | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-totalDigits
xs:fractionDigits | xs:numFacet | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-fractionDigits
xs:length | xs:numFacet | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-length
xs:minLength | xs:numFacet | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-minLength
xs:maxLength | xs:numFacet | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-maxLength
xs:enumeration | xs:noFixedFacet | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-enumeration
xs:whiteSpace | anonymous | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-whiteSpace
xs:pattern | anonymous | 1..1 | no | xs:facets | See: http://www.w3.org/TR/xmlschema-2/#element-pattern

Related Components

- Included in content model of elements (2):

  xs:simpleType, | xs:simpleType (type xs:localSimpleType)

Referenced By

- In model groups (1):
  xs:simpleDerivation [ref]

Anonymous Type Detail

Type Derivation Tree xs:anyType (restriction) xs:openAttrs (extension) xs:annotated (extension) complexType

Annotation
base attribute and simpleType child are mutually
exclusive, but one or other is required
See: http://www.w3.org/TR/xmlschema-2/#element-restriction

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.