Sequence tag in FSD
The sequence tag defines a sequence of records, choices or other sequences. Unlike choice, a sequence defines records in a fixed order.
<sequence
name
output='yes'|'no'
max-occur
min-occur>
<record/>
<choice/>
<sequence/>
</sequence>
Attributes
name
Defines the name of the sequence. If the output attribute is set to yes this name will be used as the XML tag name in the output, and used to match the sequence with an XML tag during input.
output
Defines whether the sequence is to be included in the output or not. The valid values for this attribute are yes and no, where a value of yes means the sequence should cause a tag to be generated in the output and 'no' means that the sequence is purely describing the data structure and is not in the output.
The default for this attribute is yes.
max-occur
Defines the maximum number of occurrences for the sequence. A value of zero means there can be any number of occurrences.
The default for this attribute is one.
- m
in-occur
Defines the minimum number of occurrences for the sequence.
The default for this attribute is zero.