| FlexDoc/XML XSDDoc Demo | XML Schema for XSLT 2.0 & XSD 1.0

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

complexType "xs:complexType"

Namespace: | http://www.w3.org/2001/XMLSchema
Derived By: | extension of xs:annotated
Content: | complex, 6 attributes, attr. wildcard, 10 elements
Abstract: | (cannot be assigned directly to elements used in instance XML documents)
Block: | "#all" (blocks all substitutions of this complex type through xsi:type attribute in instance XML documents)
Defined: | globally in XMLSchema.xsd; see XML source
Includes: | declarations of 5 attributes
Referenced: | by 2 locations

Component Diagram

XML Representation Summary
<...
id | = | xs:ID
name | = | xs:NCName
mixed | = | xs:boolean : "false"
abstract | = | xs:boolean : "false"
final | = | ("#all" | list of ("extension" | "restriction"))
block | = | ("#all" | list of ("extension" | "restriction"))
| {any attribute from non-schema namespace}
| >
Content: | xs:annotation?, (xs:simpleContent | xs:complexContent | ((xs:group | xs:all | xs:choice | xs:sequence)?, (xs:attribute | xs:attributeGroup)*, xs:anyAttribute?))
</...>

Attributes:

Attribute | Type / Value | Default | Required? | Declared In | Description
id | xs:ID |  | no | xs:annotated |
name | xs:NCName |  | no | this | Will be restricted to required or forbidden
mixed | xs:boolean | "false" | no | this | Not allowed if simpleContent child is chosen. May be overriden by setting on complexContent child.
abstract | xs:boolean | "false" | no | this |
final | xs:derivationSet : ("#all" | list of ("extension" | "restriction")) |  | no | this |
block | xs:derivationSet : ("#all" | list of ("extension" | "restriction")) |  | no | this |
{any attribute} | from non-schema namespace |  | no | xs:openAttrs |

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
SEQUENCE |  | 1..1 |  |  |
xs:annotation | anonymous | 0..1 | no | xs:annotated | See: http://www.w3.org/TR/xmlschema-1/#element-annotation
CHOICE |  | 1..1 |  | xs:complexTypeModel |
xs:simpleContent | anonymous | 1..1 | no | xs:complexTypeModel | See: http://www.w3.org/TR/xmlschema-1/#element-simpleContent
xs:complexContent | anonymous | 1..1 | no | xs:complexTypeModel | See: http://www.w3.org/TR/xmlschema-1/#element-complexContent
SEQUENCE |  | 1..1 |  | xs:complexTypeModel |
CHOICE |  | 0..1 |  | xs:typeDefParticle |
xs:group | xs:groupRef | 1..1 | no | xs:typeDefParticle |
xs:all | xs:all | 1..1 | no | xs:typeDefParticle | See: http://www.w3.org/TR/xmlschema-1/#element-all
xs:choice | xs:explicitGroup | 1..1 | no | xs:typeDefParticle | See: http://www.w3.org/TR/xmlschema-1/#element-choice
xs:sequence | xs:explicitGroup | 1..1 | no | xs:typeDefParticle | See: http://www.w3.org/TR/xmlschema-1/#element-sequence
CHOICE |  | 0..∞ |  | xs:attrDecls |
xs:attribute | xs:attribute | 1..1 | no | xs:attrDecls |
xs:attributeGroup | xs:attributeGroupRef | 1..1 | no | xs:attrDecls |
xs:anyAttribute | xs:wildcard | 0..1 | no | xs:attrDecls | See: http://www.w3.org/TR/xmlschema-1/#element-anyAttribute

Related Components

- Known Direct Subtypes (2):
  xs:localComplexType, xs:topLevelComplexType
- All Direct / Indirect Based Elements (2):

  xs:complexType, | xs:complexType (type xs:localComplexType)

Referenced By

- In derivations of types (2):

  xs:localComplexType (as restriction base), | xs:topLevelComplexType (as restriction base)

Type Definition Detail

Type Derivation Tree xs:anyType (restriction) xs:openAttrs (extension) xs:annotated (extension) xs:complexType

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

XML schema documentation generated with FlexDoc/XML 1.15 using FlexDoc/XML XSDDoc 3.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.