Definition Type: Element
Name: restriction
Namespace: http://www.w3.org/2001/XMLSchema
Type: xsd:annotated
Containing Schema: XMLSchema.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into pattern in schema xmlschema_xsd Drilldown into whiteSpace in schema xmlschema_xsd Drilldown into enumeration in schema xmlschema_xsd Drilldown into maxLength in schema xmlschema_xsd Drilldown into minLength in schema xmlschema_xsd Drilldown into length in schema xmlschema_xsd Drilldown into fractionDigits in schema xmlschema_xsd Drilldown into totalDigits in schema xmlschema_xsd Drilldown into maxInclusive in schema xmlschema_xsd Drilldown into maxExclusive in schema xmlschema_xsd Drilldown into minInclusive in schema xmlschema_xsd Drilldown into minExclusive in schema xmlschema_xsd Drilldown into facets in schema xmlschema_xsd Drilldown into simpleType in schema xmlschema_xsd Drilldown into simpleRestrictionModel in schema xmlschema_xsd Drilldown into annotation in schema xmlschema_xsd Drilldown into openAttrs in schema xmlschema_xsd Drilldown into id in schema xmlschema_xsd Drilldown into annotated in schema xmlschema_xsd Drilldown into base in schema xmlschema_xsdXSD Diagram of restriction in schema xmlschema_xsd (W3C XForms)
Collapse XSD Schema Code:
<xs:element name="restriction" id="restriction">
    <xs:complexType>
        <xs:annotation>
            <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-restriction">
          base attribute and simpleType child are mutually
          exclusive, but one or other is required
        </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="xs:annotated">
                <xs:group ref="xs:simpleRestrictionModel" />
                <xs:attribute name="base" type="xs:QName" use="optional" />
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
annotation xsd:annotation 0 (1)
simpleType xsd:simpleType 0 (1)
minExclusive xsd:minExclusive (1) (1)
minInclusive xsd:minInclusive (1) (1)
maxExclusive xsd:maxExclusive (1) (1)
maxInclusive xsd:maxInclusive (1) (1)
totalDigits xsd:totalDigits (1) (1)
fractionDigits xsd:fractionDigits (1) (1)
length xsd:length (1) (1)
minLength xsd:minLength (1) (1)
maxLength xsd:maxLength (1) (1)
enumeration xsd:enumeration (1) (1)
whiteSpace xsd:whiteSpace (1) (1)
pattern xsd:pattern (1) (1)
<xs:group> xsd:facets 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
id xsd:id (Optional)
base xsd:base Optional
<anyAttribute>
<anyAttribute> Allowed namespace: '##other'
Collapse Derivation Tree: