XML Schema for XML Schema

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

Super Types
{http://www.w3.org/2001/XMLSchema}anyType (restriction)
|
+--{http://www.w3.org/2001/XMLSchema}openAttrs (restriction)
|
+--{http://www.w3.org/2001/XMLSchema}annotated (extension)
|
+--{http://www.w3.org/2001/XMLSchema}attribute (extension)

Model
<...
  default = xs:string
  fixed = xs:string
  form = xs:formChoice
  id = xs:ID
  name = xs:NCName
  ref = xs:QName
  type = xs:QName
  use = xs:NMTOKEN : optional
  {any attribute from any other namespace than current namespace}>
annotation? simpleType?
</...>


Attribute Summary
 xs:stringdefault
          
 xs:stringfixed
          
 xs:formChoiceform
          
 xs:IDid
          
 xs:NCNamename
          
 xs:QNameref
          
 xs:QNametype
          
 use
          

Attribute Detail

default


Type:
xs:string
Use:
optional
Form:
unqualified

fixed


Type:
xs:string
Use:
optional
Form:
unqualified

form


Type:
xs:formChoice
Use:
optional
Form:
unqualified

id


Type:
xs:ID
Use:
optional
Form:
unqualified

name


Type:
xs:NCName
Use:
optional
Form:
unqualified

ref


Type:
xs:QName
Use:
optional
Form:
unqualified

type


Type:
xs:QName
Use:
optional
Form:
unqualified

use


Type:
base on xs:NMTOKEN
with restriction:
('prohibited' | 'optional' | 'required')
Default:
optional
Use:
optional
Form:
unqualifiedoptional

Sub Types
{http://www.w3.org/2001/XMLSchema}attribute (extension)
|
+--{http://www.w3.org/2001/XMLSchema}topLevelAttribute (restriction)

Implementors
attribute

Local Usage
attrDecls, schemaTop, topLevelAttribute

Source
<xs:complexType mixed="false" name="attribute">
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:sequence>
<xs:element minOccurs="0" name="simpleType" type="xs:localSimpleType"/>
</xs:sequence>
<xs:attributeGroup ref="xs:defRef"/>
<xs:attribute name="type" type="xs:QName"/>
<xs:attribute default="optional" name="use" use="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>

XML Schema for XML Schema

Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://www.sourceforge.net.