maxOccurs

(maximum number of occurences) indicates the largest number of times this
component may occur.

Attribute Information

Used By

Source

<xs:attribute name="maxOccurs" default="1">
  <xs:annotation>
    <xs:documentation>(maximum number of occurences) indicates the largest number of times this component may occur.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:union memberTypes="xs:nonNegativeInteger">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="unbounded"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:union>
  </xs:simpleType>
</xs:attribute>

Sample