| FlexDoc/XML XSDDoc Demo | XML Schema for XSLT 2.0 & XSD 1.0

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

element <xs:choice>

Namespace: | http://www.w3.org/2001/XMLSchema
Type: | xs:explicitGroup
Content: | complex, 3 attributes, attr. wildcard, 6 elements
Block: | "#all" (blocks all substitutions of this element or its type)
Defined: | globally in XMLSchema.xsd; see XML source
Referenced: | by 4 locations

Component Diagram

XML Representation Summary
<xs:choice
id | = | xs:ID
minOccurs | = | xs:nonNegativeInteger : "1"
maxOccurs | = | (xs:nonNegativeInteger | "unbounded") : "1"
| {any attribute from non-schema namespace}
| >
Content: | xs:annotation?, (xs:element | xs:group | xs:choice | xs:sequence | xs:any)*
</xs:choice>

Attributes:

Attribute | Type / Value | Default | Required? | Declared In | Description
id | xs:ID |  | no | xs:annotated |
minOccurs | xs:nonNegativeInteger | 1 | no | xs:occurs |
maxOccurs | xs:allNNI : (xs:nonNegativeInteger | "unbounded") | 1 | no | xs:occurs |
{any attribute} | from non-schema namespace |  | no | xs:explicitGroup |

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
SEQUENCE |  | 1..1 |  | xs:explicitGroup |
xs:annotation | anonymous | 0..1 | no | xs:explicitGroup | See: http://www.w3.org/TR/xmlschema-1/#element-annotation
CHOICE |  | 0..∞ |  | xs:nestedParticle |
xs:element | xs:localElement | 1..1 | no | xs:nestedParticle |
xs:group | xs:groupRef | 1..1 | no | xs:nestedParticle |
xs:choice | xs:explicitGroup | 1..1 | no | xs:nestedParticle | See: http://www.w3.org/TR/xmlschema-1/#element-choice
xs:sequence | xs:explicitGroup | 1..1 | no | xs:nestedParticle | See: http://www.w3.org/TR/xmlschema-1/#element-sequence
xs:any | anonymous | 1..1 | no | xs:nestedParticle | See: http://www.w3.org/TR/xmlschema-1/#element-any

Description
See: http://www.w3.org/TR/xmlschema-1/#element-choice
Related Components

- Included in content model of elements (8):

  xs:choice, xs:choice (in xs:group), xs:complexType, xs:complexType (type xs:localComplexType), | xs:extension (in xs:complexContent), xs:restriction (in xs:complexContent), xs:sequence, xs:sequence (in xs:group)

Referenced By

- In global complexTypes (1):
  xs:realGroup [ref]
- In model groups (3):
  xs:nestedParticle [ref], xs:particle [ref], xs:typeDefParticle [ref]

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

XML schema documentation generated with FlexDoc/XML 1.15 using FlexDoc/XML XSDDoc 3.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.