Is there any difference between limiting the occurrences of an element in the element
tag or the sequence
tag, what would be the best place to do it? Or it's just a matter of style?
Example:
<xs:element name="Provider">
<xs:complexType>
<xs:sequence minOcurrs="1" maxOccurs="unbounded">
<xs:element ref="Distribuitor"/>
</xs:sequence>
</xs:complexType>
</xs:element>
or
<xs:element name="Provider">
<xs:complexType>
<xs:sequence>
<xs:element ref="Distribuitor" minOcurrs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>