I was wondering if mixing "referecened" and "inline" types is allowed in XSD, e.g.:
<schema>
<element name="library" type="departments">
<complexType>
<sequence>
<element name="department_name" type="string"/>
</sequence>
</complexType>
</element>
<complexType name="departements">
<sequence>
<element name="department_name" type="string"/>
</sequence>
</complexType>
</schema>
If yes, how do I we distinguish between departement_names? Do one of them take precedence over the other? TIA!