Maps to UML Class with the stereotype XSDgroup.
This class may also have the stereotype XSDall, XSDsequence or XSDchoice.
If a group has the ref attribute, the group definition maps to the UML Attribute or the UML Association End. The UML Attribute must have XSDgroupRef stereotype. This stereotype may be omitted for the AssociationEnd.
group XML representation summary
<group
name = NCName>
Content: (annotation?, (all | choice | sequence))
</group>
<group
ref = OName
maxOccurs = (nonNegativeInteger | unbounded) : 1
minOccurs = nonNegativeInteger : 1>
Content: (annotation?)
</group>
group XML code sample
<xs:group name="myModelGroup">
<xs:sequence>
<xs:element ref="someThing"/>
...
</xs:sequence>
</xs:group>
<xs:complexType name="trivial">
<xs:group ref="myModelGroup"/>
<xs:attribute…/>
</xs:complexType>
<xs:complexType name="moreSo">
<xs:choice>
<xs:element ref="anotherThing"/>
<xs:group ref="myModelGroup"/>
</xs:choice>
<xs:attribute…/>
</xs:complexType>