xs:simpleRestrictionType

Complex Type Information

Model

xs:annotation{0,1} , ((xs:simpleType{0,1} , (xs:facet | ANY element from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'))) , (xs:attribute | xs:attributeGroup) , xs:anyAttribute{0,1} , xs:assert*

Attributes

QName Type Fixed Default Use Inheritable Annotation
base xs:QName required
id xs:ID optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Source

<xs:complexType name="simpleRestrictionType">
  <xs:complexContent>
    <xs:restriction base="xs:restrictionType">
      <xs:sequence>
        <xs:element ref="xs:annotation" minOccurs="0"/>
        <xs:choice minOccurs="0">
          <xs:annotation>
            <xs:documentation>This choice is added simply to make this a valid restriction per the REC</xs:documentation>
          </xs:annotation>
          <xs:group ref="xs:simpleRestrictionModel"/>
        </xs:choice>
        <xs:group ref="xs:attrDecls"/>
        <xs:group ref="xs:assertions"/>
      </xs:sequence>
      <xs:anyAttribute namespace="##other" processContents="lax"/>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>