Skip to Content
0
Former Member
Jun 19, 2008 at 08:40 AM

How to Add Column header in a CSV ?

1381 Views

Hi,

I am trying to develope a scenario to convert an XML file into CSV file, the scenario is populating values of all fields in the CSV file properly, but i am not getting the column header for any field in my CSV file.

Source xml structure : <item>

<name>

</name>

<roll>

</roll>

<age>

</age>

</item>

I have configured FCC in the receiver communication as follows :

Recordset Structure : item

item.addHeaderLine : 1

item.headerLine : name,roll,age

item.fieldseparator : ,

item.endseparator :

item.fieldnames : name,roll,age

Can anyone suggest , what should i add or modify in the scenario to get column header for all the fields in the CSV ??

Edited by: Sambaran Pradhan on Jun 19, 2008 10:43 AM