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

Model
<schema
  attributeFormDefault = "qualified" | "unqualified" : "unqualified"
  blockDefault = "#all" | list of ("extension" | "restriction" | "substitution")
  elementFormDefault = "qualified" | "unqualified" : "unqualified"
  finalDefault = "#all" | list of ("extension" | "restriction")
  id = ID
  lang = language | ""
  targetNamespace = anyURI
  version = normalizedString
  (any attribute from any namespace other than http://www.w3.org/2001/XMLSchema)>
(include | import | redefine | annotation)*, (simpleType | complexType | group | attributeGroup | element | attribute | notation, annotation*)*
</schema>
Disallowed substitutions (block)
extension, restriction and substitution
Substitution group exclusion (final)
none (extensions and restrictions are allowed)
Content Type
element-only content, not nillable.
Usage
This element can be the root element of XML instance documents.
Documentation
 
See also
http://www.w3.org/TR/xmlschema-1/#element-schema
Identity Constraints
element
The expression "./@name" defines a required unique key within the set of subordinate elements "./xs:element".
attribute
The expression "./@name" defines a required unique key within the set of subordinate elements "./xs:attribute".
type
The expression "./@name" defines a required unique key within the set of subordinate elements "./xs:complexType|./xs:simpleType".
group
The expression "./@name" defines a required unique key within the set of subordinate elements "./xs:group".
attributeGroup
The expression "./@name" defines a required unique key within the set of subordinate elements "./xs:attributeGroup".
notation
The expression "./@name" defines a required unique key within the set of subordinate elements "./xs:notation".
identityConstraint
The expression "./@name" defines a required unique key within the set of subordinate elements ".//xs:key|.//xs:unique|.//xs:keyref".

Nested Element Summary
choice
0...∞
anonymous type derived from annotatedinclude
           
anonymous type derived from annotatedimport
           
anonymous type derived from openAttrsredefine
           
anonymous type derived from openAttrsannotation
           
sequence
0...∞
choice
choice
topLevelSimpleTypesimpleType
           
topLevelComplexTypecomplexType
           
namedGroupgroup
           
namedAttributeGroupattributeGroup
           
topLevelElementelement
           
topLevelAttributeattribute
           
anonymous type derived from annotatednotation
           
anonymous type derived from openAttrsannotation 0...∞
           


Attribute Summary
formChoiceattributeFormDefault
           
blockSetblockDefault
           
formChoiceelementFormDefault
           
derivationSetfinalDefault
           
IDid
           
union&nbsp;of (language | anonymous type derived from string)lang
          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.
anyURItargetNamespace
           
normalizedStringversion
           

Attribute Detail

attributeFormDefault

Definition

Defined with global type formChoice

Model
"qualified" | "unqualified"
Default Value
"unqualified"
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

blockDefault

Definition

Defined with global type blockSet

Model
"#all" | list of ("extension" | "restriction" | "substitution")
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse
Type
blockSet

elementFormDefault

Definition

Defined with global type formChoice

Model
"qualified" | "unqualified"
Default Value
"unqualified"
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

finalDefault

Definition

Defined with global type derivationSet

Model
"#all" | list of ("extension" | "restriction")
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse
Type
derivationSet

id

Definition

Defined with global type ID

Model
{NCName: pattern = \i\c*}
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

lang

Documentation
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
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.
Definition

Defined as global attribute lang

Namespace
http://www.w3.org/XML/1998/namespace
Model
language | ""
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse
Type
Union of Types
language{token: pattern = [a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*}
anonymous type derived from string
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
preserve
Enumeration Facet
""

targetNamespace

Definition

Defined with global type anyURI

Model
{built-in primitive type anyURI}
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse

version

Definition

Defined with global type normalizedString

Model
{string}
Attribute Usage
optional
Fundamental Facets
equality, non-numeric, unbounded, unordered, countable infinite value space
White Space Processing
collapse


(c) Copyright 2005, 2006 buldocs Ltd. All Rights Reserved.
generated by xnsdoc 1.2