xs:all

Only elements allowed inside

Complex Type Information

Model

Attributes

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

Used By

Source

<xs:complexType name="all">
  <xs:annotation>
    <xs:documentation>Only elements allowed inside</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:restriction base="xs:explicitGroup">
      <xs:group ref="xs:allModel"/>
      <xs:attribute name="minOccurs" default="1" use="optional">
        <xs:simpleType>
          <xs:restriction base="xs:nonNegativeInteger">
            <xs:enumeration value="0"/>
            <xs:enumeration value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="maxOccurs" default="1" use="optional">
        <xs:simpleType>
          <xs:restriction base="xs:allNNI">
            <xs:enumeration value="0"/>
            <xs:enumeration value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax"/>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>