CSV configuration extension

You can specify the CSV input file(s) and the encoding of the input file(s) in the CSV source system configuration. The XML element csvextractor can contain the following two XML elements:

XML element/attribute

Description

inputfile

Contains the path of the input file(s)

encoding

Contains the encoding of the input file(s)

Example

<csvextractor>

<inputfile>../testclient/data/customers.csv</inputfile>

<encoding>ISO-8859-15</encoding>

<fieldseparator>,</fieldseparator>

<mask>"</mask>

<hasheaderline/>

</csvextractor>

The value for the XML element inputfile can be the path to the CSV file. If you specified the path, the command line parameter -i will be ignored. The same applies to the XML element encoding and the command line parameter -encoding.

If you specified the path to the CSV file (inputfile) in the CSV configuration, the path data in the data source will be ignored.