The objective is to convert csv file to xml representation. Example:
fil_adapter_csvfile2xml_file

The target message type is 2 columns that repeatable at node row.
fil_adapter_csvfile2xml_MT
Document Name is the target message type.
Document Namespace should be the namespace of the message type.
Recordset Strcuture is “row,*”. This mean the node “row” can be repeat unbounded time.
Parameter ignoreRecordsetName set to “true”, so that adapter will not default add another “Recordset” node, this is because for csv file, only have one structure only.
Parameter row.fieldSeparator = “|”, this is the delimiter of csv file. Fields will split whenever have this “|”.
Parameter row.endSeparator = ‘nl’, this is the new line character. Lines will split whenever have this ‘nl’.
Parameter row.fieldNames = “col1,col2”, this is the field names of node “row”.
fil_adapter_csvfile2xml_CC

Keep on posting!

File Adapter – Sender – Content Conversion to Convert CSV file to XML
Tagged on:             

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.