dmio:file-writer, dmio:stream-writer

Creates an I/O writer element.

Element Information

Element class FileWriterConfig , StreamWriterConfig
Implementation class DMFileWriter , DMStreamWriter
Nested elementsnone

Attributes

Name Type Required Description
pathstringyes (file-writer only) Defines the path of the file into which to write elements and attributes.
streamstringno (stream-writer only) Defines the stream to which elements and attributes are written. Possible values are stdout and stderr. Default value is stdout.

Examples

    
    <dmio:file-writer id="classWriter" path="xml/classes.xml"/>

    <dmio:stream-writer/>

    <dmio:stream-writer stream="stderr"/>