Schema Central Home  |  XML Schema 1.0 Overview  |   Search XML Schema 1.0:
   Advanced Search
XML Schema 1.0

xsd:schema

See http://www.w3.org/TR/xmlschema-1/#element-schema.

Element Information

Namespace: http://www.w3.org/2001/XMLSchema

Schema Document: xmlschema.xsd

Properties: Global, Qualified

Type: Anonymous

Content

Attributes

NameOccTypeDescriptionNotes
Any attribute[0..*]Namespace: ##other, Process Contents: laxinherited from xsd:openAttrs  
targetNamespace [0..1]xsd:anyURI
version [0..1]xsd:token
finalDefault [0..1]xsd:fullDerivationSetDefault value is "".
blockDefault [0..1]xsd:blockSetDefault value is "".
attributeFormDefault [0..1]xsd:formChoiceDefault value is "unqualified".
elementFormDefault [0..1]xsd:formChoiceDefault value is "unqualified".
id [0..1]xsd:ID
xml:lang [0..1]Anonymousdenotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited.

Identity Constraints

TypeNameSelectorField(s)
keyelementxs:element@name
keyattributexs:attribute@name
keytypexs:complexType|xs:simpleType@name
keygroupxs:group@name
keyattributeGroupxs:attributeGroup@name
keynotationxs:notation@name
keyidentityConstraint.//xs:key|.//xs:unique|.//xs:keyref@name

Sample Instance

	<xsd:schema>
	   <xsd:include schemaLocation="http://www.example.com/">
	   </xsd:include>
	   <xsd:simpleType name="NCName">
	      <xsd:restriction>
	         <xsd:simpleType>...
	         </xsd:simpleType>
	         <xsd:minExclusive value="any value">...
	         </xsd:minExclusive>
	      </xsd:restriction>
	   </xsd:simpleType>
	</xsd:schema>
Need Schema Help?
D A T Y P I C
Training | Consulting | Development

 

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications