dm:file

Creates an element for reading a file. Used by strings.

Element Information

Element class FileConfig
Implementation classnone
Nested elementsnone

Attributes

Name Type Required Description
pathStringyes The path to the file.
countintno The number of lines to read from the file.

Examples

    
    <dm:strings id="firstNames">
      <dm:file path="../../data/fnames.us" count="500"/>
      <dm:file path="../../data/mnames.us" count="500"/>
    </dm:strings>