<xs:attribute name="max">
<xs:annotation>
<xs:documentation>maximum occurance of parent element.</xs:documentation>
<xs:documentation>++ 0: Parent element is not present</xs:documentation>
<xs:documentation>++ 1: single item only</xs:documentation>
<!-- $Hist:JS:2012-11-22 #3340 note 16 and 17 start -->
<xs:documentation>++ 4: upto 4 item only</xs:documentation>
<xs:documentation>++ 2: upto 2 item only</xs:documentation>
<!-- $Hist:JS:2012-11-22 #3340 note 16 and 17 end -->
<xs:documentation>++ *: multiple items are possible</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="*"/>
<!-- $Hist:JS:2012-11-22 #3340 note 16 and 17-->
<!-- $Hist:JS:2012-11-22 #3340 note 16 and 17-->
</xs:restriction>
</xs:simpleType>
</xs:attribute> |