Schema Central > XML Schema 1.1 > XMLSchema.xsd > xsd:complexType
Advanced search
Need Schema Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

xsd:complexType

See http://www.w3.org/TR/xmlschema11-1/#element-complexType.

Element information

Namespace: http://www.w3.org/2001/XMLSchema

Schema document: XMLSchema.xsd

Other elements with the same name: xsd:complexType

Type: xsd:topLevelComplexType

Properties: Global, Qualified, ID: complexType

Content

Attributes

NameOccTypeDescriptionNotes
id [0..1]xsd:IDfrom type xsd:annotated
mixed [0..1]xsd:booleanfrom type xsd:complexType
abstract [0..1]xsd:booleanDefault value is "false". from type xsd:complexType
final [0..1]xsd:derivationSetfrom type xsd:complexType
block [0..1]xsd:derivationSetfrom type xsd:complexType
defaultAttributesApply [0..1]xsd:booleanDefault value is "true". from type xsd:complexType
name [1..1]xsd:NCName
Any attribute[0..*]Namespace: ##other, Process Contents: lax

Used in

Sample instance

<xsd:complexType name="NCName">
   <xsd:simpleContent>
      <xsd:restriction base="QName">
         <xsd:simpleType>...
         </xsd:simpleType>
         <xsd:minExclusive value="any text content">...
         </xsd:minExclusive>
         <xsd:attribute>...
         </xsd:attribute>
         <xsd:anyAttribute>...
         </xsd:anyAttribute>
         <xsd:assert>...
         </xsd:assert>
      </xsd:restriction>
   </xsd:simpleContent>
</xsd:complexType>