Creates a sequence iterator element.
Element Information
| Element class | SequenceIteratorConfig |
| Implementation class | SequenceIterator |
| Nested elements | iterator, collection, or constants |
Attributes
The dm:sequence element supports the same attributes as
iterator, and also:
| Name | Type | Required | Description |
|---|---|---|---|
| order | String | no |
Possible values are breadth and depth. If breadth, then the next value is
returned from each iterator in the sequence. After the last iterator, the process starts again with the first
iterator. If depth, then all values are returned from the first iterator in the sequence, then all
values are returned from the second, etc., until all values have been returned from the last iterator in the
sequence. The default is depth.
|
| repeatAll | boolean | no | If true, sets the repeat flag to true for all nested iterators. |
Examples
<!-- creates a list of objects, where each object has an int and a string value --> <dm:sequence order="breadth" id="building"> <dm:ints range="[1]" id="pk"/> <dm:strings id="name">Faculty Building, Bestof Hall, Sunset Towers</dm:strings> </dm:sequence>