24
Richer type definition example
<xs:complexType name='personName'>
 <xs:element name='title'
             minOccurs='0'/>
 <xs:element name='forename'
             minOccurs='0'
             maxOccurs='unbounded'/>
 <xs:element name='surname'/>
 <xs:attribute name='id'
               type='integer'/>
</xs:complexType>
<xs:element name='owner'
            type='personName'/>