xsd:all
An "all" group that allows elements to appear in any order. Unlike other group types, does not allow other groups as children, only elements.
Element information
Namespace: http://www.w3.org/2001/XMLSchema
Schema document: xmlschema.xsd
Other elements with the same name: xsd:all
Type: xsd:allType
Properties: Global, Qualified
Content
- Sequence [1..1]
- xsd:annotation [0..1]
- Choice [0..*]
from type xsd:annotatedfrom group xsd:allModel
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Any attribute | [0..*] | Namespace: ##other, Process Contents: lax | from type xsd:openAttrs | |
id | [0..1] | xsd:ID | from type xsd:annotated | |
minOccurs | [0..1] | Anonymous | Default value is "1". | |
maxOccurs | [0..1] | Anonymous | Default value is "1". |
Used in
- Group xsd:typeDefParticle
- Group xsd:complexTypeModel via reference to xsd:typeDefParticle
- Type xsd:complexType via reference to xsd:complexTypeModel
- Type xsd:complexRestrictionType via reference to xsd:typeDefParticle (Element xsd:restriction)
- Type xsd:extensionType via reference to xsd:typeDefParticle (Element xsd:extension)
- Type xsd:localComplexType via reference to xsd:complexTypeModel (Element xsd:complexType)
- Type xsd:topLevelComplexType via reference to xsd:complexTypeModel (Element xsd:complexType)
Sample instance
<xsd:all> <xsd:element> <xsd:simpleType> <xsd:restriction>... </xsd:restriction> </xsd:simpleType> <xsd:unique name="NCName"> <xsd:selector xpath="token">... </xsd:selector> <xsd:field xpath="token">... </xsd:field> </xsd:unique> </xsd:element> </xsd:all>