Similar to simpleType element definitions, you can reuse complexType element definitions using the following syntax:
<xs:complexType name="typename">
...
...
</xs:complexType>
To reuse the preceding definition, you need to specify typename as a value for the type attribute in an element declaration. For example, in the following declaration, the ElementName element reuses the preceding complextype element definition using typename as a value for the type attribute:
<xs:element name="ElementName" type="typename" />
|