complexType attribute

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

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}attribute
Derived Types
{http://www.w3.org/2001/XMLSchema}attribute
 {http://www.w3.org/2001/XMLSchema}topLevelAttribute (by restriction)
  {http://www.w3.org/2001/XMLSchema}attribute (by type)
Abstractfalse (This can 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="attribute" mixed="false">
    <
xs:complexContent>
        <
xs:extension base="xs:annotated">
            <
xs:sequence>
                <
xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
            </
xs:sequence>
            <
xs:attributeGroup ref="xs:defRef"/>
            <
xs:attribute name="type" type="xs:QName"/>
            <
xs:attribute name="use" use="optional" default="optional">
                <
xs:simpleType>
                    <
xs:restriction base="xs:NMTOKEN">
                        <
xs:enumeration value="prohibited"/>
                        <
xs:enumeration value="optional"/>
                        <
xs:enumeration value="required"/>
                    </
xs:restriction>
                </
xs:simpleType>
            </
xs:attribute>
            <
xs:attribute name="default" type="xs:string"/>
            <
xs:attribute name="fixed" type="xs:string"/>
            <
xs:attribute name="form" type="xs:formChoice"/>
        </
xs:extension>
    </
xs:complexContent>
</
xs:complexType>


complexType attribute


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.