xsd: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
- Sequence [1..1]
- xsd:annotation [0..1]
- Choice [1..1]
- xsd:simpleContent
- xsd:complexContent
- Sequence [1..1]
- xsd:openContent [0..1]
- Choice [0..1]
- Choice [0..*]
- xsd:anyAttribute [0..1]
- xsd:assert [0..*]
from group xsd:typeDefParticlefrom group xsd:attrDeclsfrom group xsd:assertions
from group xsd:complexTypeModel
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
id | [0..1] | xsd:ID | from type xsd:annotated | |
mixed | [0..1] | xsd:boolean | from type xsd:complexType | |
abstract | [0..1] | xsd:boolean | Default value is "false". from type xsd:complexType | |
final | [0..1] | xsd:derivationSet | from type xsd:complexType | |
block | [0..1] | xsd:derivationSet | from type xsd:complexType | |
defaultAttributesApply | [0..1] | xsd:boolean | Default value is "true". from type xsd:complexType | |
name | [1..1] | xsd:NCName | ||
Any attribute | [0..*] | Namespace: ##other, Process Contents: lax |
Used in
- Anonymous type of element xsd:override via reference to xsd:schemaTop
- Anonymous type of element xsd:redefine
- Anonymous type of element xsd:schema via reference to xsd:schemaTop
- Group xsd:schemaTop
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>