xs:complexType

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
abstract xs:boolean false optional
block xs:derivationSet optional
defaultAttributesApply xs:boolean true optional
final xs:derivationSet optional
id xs:ID optional
mixed xs:boolean optional
Not allowed if simpleContent child is chosen.
May be overridden by setting on complexContent child.
name xs:NCName required
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Element Group xs:redefinable

Source

<xs:element name="complexType" type="xs:topLevelComplexType" id="complexType">
  <xs:annotation>
    <xs:documentation source="../structures/structures.html#element-complexType"/>
  </xs:annotation>
</xs:element>

Sample