Creates an I/O writer element.
Element Information
| Element class | FileWriterConfig , StreamWriterConfig |
| Implementation class | DMFileWriter , DMStreamWriter |
| Nested elements | none |
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
| path | string | yes (file-writer only) | Defines the path of the file into which to write elements and attributes. |
| stream | string | no (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"/>