XML Schema for XML Schema

http://www.w3.org/2001/XMLSchema
element schema

Documentation

Model
<schema
  attributeFormDefault = xs:formChoice : unqualified
  blockDefault = xs:blockSet
  elementFormDefault = xs:formChoice : unqualified
  finalDefault = xs:derivationSet
  id = xs:ID
  lang = xs:language
  targetNamespace = xs:anyURI
  version = xs:normalizedString
  {any attribute from any other namespace than current namespace}>
((include | import | redefine | annotation)* , (((simpleType | complexType | group | attributeGroup) | element | attribute | notation) , annotation*)* )
</schema>


Attribute Summary
 xs:formChoiceattributeFormDefault
          
 xs:blockSetblockDefault
          
 xs:formChoiceelementFormDefault
          
 xs:derivationSetfinalDefault
          
 xs:IDid
          
 xs:languagelang
          
 xs:anyURItargetNamespace
          
 xs:normalizedStringversion
          

Attribute Detail

attributeFormDefault


Type:
xs:formChoice
Default:
unqualified
Use:
optional
Form:
unqualifiedunqualified

blockDefault


Type:
xs:blockSet
Use:
optional
Form:
unqualified

elementFormDefault


Type:
xs:formChoice
Default:
unqualified
Use:
optional
Form:
unqualifiedunqualified

finalDefault


Type:
xs:derivationSet
Use:
optional
Form:
unqualified

id


Type:
xs:ID
Use:
optional
Form:
unqualified

lang


Type:
xs:language
Use:
optional
Form:
unqualified

targetNamespace


Type:
xs:anyURI
Use:
optional
Form:
unqualified

version


Type:
xs:normalizedString
Use:
optional
Form:
unqualified

Source
<xs:element id="schema" name="schema">
<xs:complexType mixed="false">
<xs:complexContent>
<xs:extension base="xs:openAttrs">
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="xs:include"/>
<xs:element ref="xs:import"/>
<xs:element ref="xs:redefine"/>
<xs:element ref="xs:annotation"/>
</xs:choice>
<xs:sequence maxOccurs="unbounded" minOccurs="0">
<xs:group ref="xs:schemaTop"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="xs:annotation"/>
</xs:sequence>
</xs:sequence>
<xs:attribute name="targetNamespace" type="xs:anyURI"/>
<xs:attribute name="version" type="xs:normalizedString"/>
<xs:attribute name="finalDefault" type="xs:derivationSet" use="optional"/>
<xs:attribute name="blockDefault" type="xs:blockSet" use="optional"/>
<xs:attribute default="unqualified" name="attributeFormDefault" type="xs:formChoice" use="optional"/>
<xs:attribute default="unqualified" name="elementFormDefault" type="xs:formChoice" use="optional"/>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute ref="xml:lang"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:key name="element">
<xs:selector xpath="xs:element"/>
<xs:field xpath="@name"/>
</xs:key>
<xs:key name="attribute">
<xs:selector xpath="xs:attribute"/>
<xs:field xpath="@name"/>
</xs:key>
<xs:key name="type">
<xs:selector xpath="xs:complexType|xs:simpleType"/>
<xs:field xpath="@name"/>
</xs:key>
<xs:key name="group">
<xs:selector xpath="xs:group"/>
<xs:field xpath="@name"/>
</xs:key>
<xs:key name="attributeGroup">
<xs:selector xpath="xs:attributeGroup"/>
<xs:field xpath="@name"/>
</xs:key>
<xs:key name="notation">
<xs:selector xpath="xs:notation"/>
<xs:field xpath="@name"/>
</xs:key>
<xs:key name="identityConstraint">
<xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/>
<xs:field xpath="@name"/>
</xs:key>
</xs:element>

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.