- The UML Class must have the additional stereotype XSDlist.
- Binding between this class and XSD:list must be provided.
- “itemsType” maps to UML TemplateArgument from Binding.
List model example.
| Panel | ||
|---|---|---|
| ||
<?xml version=1.0, encoding=’UTF-8’?› <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:list > <xs:simpleType> <xs:restriction base="xs:string" /> </xs:list> </xs:simpleType> <xs:simpleType name="my_number_list" > <xs:documentation >my list documentation</xs:documentation> <xs:list itemType="xs:boolean" /> </xs:simpleType> </xs:schema> |