max

supplies the maximum number of times the element can occur in
elements which use this model class in their content model

Attribute Information

Source

<xs:attribute name="max">
  <xs:annotation>
    <xs:documentation>supplies the maximum number of times the element can occur in elements which use this model class in their content model</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:union memberTypes="xs:double xs:decimal">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:union>
  </xs:simpleType>
</xs:attribute>

Sample