Creates an ints, doubles, dates, or strings collection element.
Element Information
| Element class | IntsConfig , DoublesConfig , DatesConfig , StringsConfig |
| Implementation class | Ints, Doubles, Dates, Strings |
| Nested elements | iterator, text (strings only), file (strings only) |
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | no | if set, becomes default name for iterators |
| repeat | boolean | no | if set, becomes default repeat flag for iterators |
| format | string | no | format pattern |
| range | string | yes | range |
| file | string | no | (strings only) the path to a file from which to read values |
| count | int | no | (strings only) the number of elements to read from the file |
Examples
<dm:ints range="[10,20]2">
<dm:doubles id="doubles" range="[0.0]0.1"/>
<dm:dates range="[01/02/2003 04:05:06]1M">
<dm:strings id="colors">red,green,blue</dm:strings>
<dm:strings id="words" file="words.dat" count="100"/>