complexType element

complexType {http://www.w3.org/2001/XMLSchema}element

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}anyType (by restriction)
 {http://www.w3.org/2001/XMLSchema}openAttrs (by extension)
  {http://www.w3.org/2001/XMLSchema}annotated (by extension)
   {http://www.w3.org/2001/XMLSchema}element
Derived Types
{http://www.w3.org/2001/XMLSchema}element
 {http://www.w3.org/2001/XMLSchema}localElement (by restriction)
  {http://www.w3.org/2001/XMLSchema}narrowMaxMin (by restriction)
 {http://www.w3.org/2001/XMLSchema}topLevelElement (by restriction)
  {http://www.w3.org/2001/XMLSchema}element (by type)
Abstracttrue (This cannot be used in an instance)
Block Substitutionsextension, restriction
Target Namespacehttp://www.w3.org/2001/XMLSchema
Declared Namespacesxmlns:hfp=http://www.w3.org/2001/XMLSchema-hasFacetAndProperty
xmlns:xs=http://www.w3.org/2001/XMLSchema


Source

<xs:complexType name="element" abstract="true" mixed="false">
    <
xs:annotation>
        <
xs:documentation>
The element element can be used either
at the top level to define an element-type binding globally,
or within a content model to either reference a globally-defined
element or type or declare an element-type binding locally.
The ref form is not allowed at the top level.
        
</xs:documentation>
    </
xs:annotation>
    <
xs:complexContent>
        <
xs:extension base="xs:annotated">
            <
xs:sequence>
                <
xs:choice minOccurs="0">
                    <
xs:element name="simpleType" type="xs:localSimpleType"/>
                    <
xs:element name="complexType" type="xs:localComplexType"/>
                </
xs:choice>
                <
xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
            </
xs:sequence>
            <
xs:attributeGroup ref="xs:defRef"/>
            <
xs:attribute name="type" type="xs:QName"/>
            <
xs:attribute name="substitutionGroup" type="xs:QName"/>
            <
xs:attributeGroup ref="xs:occurs"/>
            <
xs:attribute name="default" type="xs:string"/>
            <
xs:attribute name="fixed" type="xs:string"/>
            <
xs:attribute name="nillable" type="xs:boolean" use="optional" default="false"/>
            <
xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
            <
xs:attribute name="final" type="xs:derivationSet"/>
            <
xs:attribute name="block" type="xs:blockSet"/>
            <
xs:attribute name="form" type="xs:formChoice"/>
        </
xs:extension>
    </
xs:complexContent>
</
xs:complexType>


Documentation

The element element can be used either
at the top level to define an element-type binding globally,
or within a content model to either reference a globally-defined
element or type or declare an element-type binding locally.
The ref form is not allowed at the top level.


complexType element


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.