xsd:schema
Element information
Namespace: http://www.w3.org/2001/XMLSchema
Schema document: xmlschema.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Sequence [1..1]
- Choice [0..*]
- Sequence [0..*]
- Choice [1..1]
- xsd:annotation [0..*]
from group xsd:schemaTop
Attributes
| Name | Occ | Type | Description | Notes |
|---|---|---|---|---|
| Any attribute | [0..*] | Namespace: ##other, Process Contents: lax | from type xsd:openAttrs | |
| targetNamespace | [0..1] | xsd:anyURI | ||
| version | [0..1] | xsd:token | ||
| finalDefault | [0..1] | xsd:fullDerivationSet | Default value is "". | |
| blockDefault | [0..1] | xsd:blockSet | Default value is "". | |
| attributeFormDefault | [0..1] | xsd:formChoice | Default value is "unqualified". | |
| elementFormDefault | [0..1] | xsd:formChoice | Default value is "unqualified". | |
| id | [0..1] | xsd:ID | ||
| xml:lang | [0..1] | Anonymous |
Identity constraints
| Type | Name | Selector | Field(s) |
|---|---|---|---|
| key | element | xs:element | @name |
| key | attribute | xs:attribute | @name |
| key | type | xs:complexType|xs:simpleType | @name |
| key | group | xs:group | @name |
| key | attributeGroup | xs:attributeGroup | @name |
| key | notation | xs:notation | @name |
| key | identityConstraint | .//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>



