complexType attribute
diagram index_p889.png
namespace http://www.w3.org/2001/XMLSchema
type extension of xs:annotated
properties
base xs:annotated
children xs:annotation xs:simpleType
used by
element attrDecls/attribute
complexType topLevelAttribute
attributes
Name  Type  Use  Default  Fixed  annotation
idxs:ID      
namexs:NCName      
refxs:QName      
typexs:QName      
usederived by: xs:NMTOKENoptional  optional    
defaultxs:string      
fixedxs:string      
formxs:formChoice      
source <xs:complexType name="attribute">
 
<xs:complexContent>
   
<xs:extension base="xs:annotated">
     
<xs:sequence>
       
<xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
     
</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>

attribute attribute/@type
type xs:QName
properties
isRef 0
source <xs:attribute name="type" type="xs:QName"/>

attribute attribute/@use
type restriction of xs:NMTOKEN
properties
isRef 0
default optional
use optional
facets
Kind Value annotation 
enumeration prohibited 
enumeration optional 
enumeration required 
source <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>

attribute attribute/@default
type xs:string
properties
isRef 0
source <xs:attribute name="default" type="xs:string"/>

attribute attribute/@fixed
type xs:string
properties
isRef 0
source <xs:attribute name="fixed" type="xs:string"/>

attribute attribute/@form
type xs:formChoice
properties
isRef 0
facets
Kind Value annotation 
enumeration qualified 
enumeration unqualified 
source <xs:attribute name="form" type="xs:formChoice"/>

element attribute/simpleType
diagram index_p890.png
namespace http://www.w3.org/2001/XMLSchema
type xs:localSimpleType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children xs:annotation xs:restriction xs:list xs:union
used by
group redefinable
attributes
Name  Type  Use  Default  Fixed  annotation
idxs:ID      
source <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>


XML Schema documentation generated by
XMLSpy Schema Editor http://www.altova.com/xmlspy