History | Edit

Figure: xs:sequence

xs:sequence specifies that the child elements must appear in a sequence. Each child element can occur from 0 to any number of times. See more info at http://www.w3.org/TR/xmlschema11-1/#element-sequence.

Figure: xs:choice

xs:choice allows only one of the elements contained in the declaration to be present within the containing element. See more info at http://www.w3.org/TR/xmlschema11-1/#element-choice.

Figure: xs:all

xs:all specifies that the child elements can appear in any order. See more info at http://www.w3.org/TR/xmlschema11-1/#element-all.

The compositor graphical representation also contains the value for the minOccurs and maxOccurs properties (for 0..1 and 1..1 occurs the values are implied by the connector style) and the connectors to the compositor are drawn using dotted lines if the compositor is optional.

Table 1. xs:sequence, xs:choice, xs:all Properties
Property Name Description Possible Values Mentions
Compositor Compositor type. sequence, choice, all. 'all' is only available as a child of a group or complex type.
Min Occurs Minimum occurrences of compositor. A numeric positive value. Default is 1. The property is not present if compositor is 'all' and is child of a group.
Max Occurs Maximum occurrences of compositor. A numeric positive value. Default is 1. The property is not present if compositor is 'all' and is child of a group.
ID The component ID. Any ID For all compositors.
Component The edited component name. Not editable property. For all compositors.
System ID The component system ID. Not editable property. For all compositors.