dm:ints, dm:doubles, dm:dates, dm:strings

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
namestringnoif set, becomes default name for iterators
repeatbooleannoif set, becomes default repeat flag for iterators
formatstringnoformat pattern
rangestringyesrange
filestringno(strings only) the path to a file from which to read values
countintno(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"/>