Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definitions of complex types are created using the complexType element, its attributes, and any valid facets. Usually, complex types will contain a set of element declarations, attribute declarations, and element references.
Example
The following example creates a complex type definition for the Client
element to describe the content model.
<xs:element name="Client">
<xs:complexType>
<xs:attribute name="CompanyName" type="xs:string"/>
<xs:attribute name="City" type="xs:string"/>
<xs:attribute name="State" type="xs:string"/>
</xs:complexType>
</xs:element>