Example 4: No header

If the CSV files do not contain a header, a column heading is generated automatically for each data column.

Entry in CSV file

4711;10;"Harry, ""A"" Williams";Mobile 6600;3

Entry in XML output file

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE eventlist SYSTEM "event.dtd">

<eventlist>

<event>

<attribute type="FIELD_1">4711</attribute>

<attribute type="FIELD_2">10</attribute>

<attribute type="FIELD_3">Harry, "A" Williams</attribute>

<attribute type="FIELD_4">Mobile 6600</attribute>

<attribute type="FIELD_5">3</attribute>

</event>

...

</eventlist>