Schema Central > XML Schema 1.0 > 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/xmlschema-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

Content

Attributes

NameOccTypeDescriptionNotes
Any attribute[0..*]Namespace: ##other, Process Contents: laxfrom type xsd:openAttrs
id [0..1]xsd:IDfrom type xsd:annotated
name [1..1]xsd:NCName
abstract [0..1]xsd:booleanDefault value is "false".
final [0..1]xsd:derivationSet
block [0..1]xsd:derivationSet
mixed [0..1]xsd:booleanIndicates that mixed content is allowed.Default value is "false".

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:restriction>
   </xsd:simpleContent>
</xsd:complexType>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to pwalmsley@datypic.com