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

Documentation
Properties
This component is not nillable.

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


Nested Element Summary
 annotation
          
 annotation
          
 attribute
          
 attributeGroup
          
 complexType
          
 element
          
 group
          
 import
          
 include
          
 notation
          
 redefine
          
 simpleType
          

Attribute Summary
 xs:formChoiceattributeFormDefault
          
 xs:blockSetblockDefault
          
 xs:formChoiceelementFormDefault
          
 xs:fullDerivationSetfinalDefault
          
 xs:IDid
          
 lang
          

lang (as an attribute name)

denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited.

 
 xs:anyURItargetNamespace
          
 xs:tokenversion
          

Attribute Detail

attributeFormDefault

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

blockDefault

Type:
xs:blockSet
Use:
optional
Form:
unqualified

elementFormDefault

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

finalDefault

Type:
xs:fullDerivationSet
Use:
optional
Form:
unqualified

id

Type:
xs:ID
Use:
optional
Form:
unqualified

lang

lang (as an attribute name) denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited. This name is reserved by virtue of its definition in the XML specification. Notes Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See BCP 47 at http://www.rfc-editor.org/rfc/bcp/bcp47.txt and the IANA language subtag registry at http://www.iana.org/assignments/language-subtag-registry for further information. The union allows for the 'un-declaration' of xml:lang with the empty string.

Type:
based on
with :
Use:
optional
Form:
unqualified

targetNamespace

Type:
xs:anyURI
Use:
optional
Form:
unqualified

version

Type:
xs:token
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:token"/>
<xs:attribute default="" name="finalDefault" type="xs:fullDerivationSet" use="optional"/>
<xs:attribute default="" 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>


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