File XML Output Adapter

Adapter type: xml_out. The File XML Output adapter writes data as a file in XML format.

If you use the CCL ATTACH ADAPTER statement to attach an adapter, you must supply the adapter type.

Property Label Description
Directory

Property ID: dir

Type: directory

(Required) Specify the absolute path to the data files you want the adapter to read. For example, <username>/<folder name>.

No default value.

Use a forward slash for both UNIX and Windows paths.

File (in Directory)

Property ID: file

Type: tables

(Required) File the adapter writes data to. No default value.

Include Base Content

Property ID: outputBase

Type: boolean

(Optional) Records the initial contents of the stream, not just the updates. Default value is false.

Only Base Content

Property ID: onlyBase

Type: boolean

(Optional) Sends a one-time snapshot of initial contents of the stream. Default value is false.

Directory (runtime)

Property ID: runtimeDir

Type: runtimeDirectory

(Advanced) Location of the data files at runtime, if different from discovery time. No default value.

File Pattern

Property ID: filePattern

Type: string

(Advanced) Pattern used to look up files for discovery. Default value is *.xml.

Date Format

Property ID: dateFormat

Type: string

(Advanced) Format string for parsing data values. Default value is %Y-%m-%dT%H:%M:%S.

Timestamp Format

Property ID: timestampFormat

Type: string

(Advanced) Format string for parsing timestamp values. Default value is %Y-%m-%dT%H:%M:%S.

Field Mapping

Property ID: permutation

Type: permutation

Mapping between Event Stream Processor and external fields, for example:

<esp_columnname>=<database_columnname>:<esp_columnname>=<database_columnname>. No default value.

PropertySet

Property ID: propertyset

Type: string

(Advanced) Specifies the name of the property set. Property sets are reusable sets of properties that are stored in the project configuration file. Using these sets allows you to move adapter configuration properties out of the CCL file and into the CCR file. If you specify the same properties in the project configuration file and the ATTACH ADAPTER statement, the values in the property set override the values defined in the ATTACH ADAPTER statement. No default value.