Schema Central > XML Schema 1.0 > xmlschema.xsd > xsd:schema
Advanced search
Need Schema Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

xsd:schema

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

Element information

Type: Anonymous

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
Any attribute[0..*]Namespace: ##other, Process Contents: laxfrom type 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]Anonymous

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 text content">...
         </xsd:minExclusive>
      </xsd:restriction>
   </xsd:simpleType>
</xsd:schema>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to pwalmsley@datypic.com