cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello Experts,
I am trying to convert a CSV file into XML file and then pass this XML file (without any mapping) to a target folder.
I tried using FCC in the sender File channel but it resulted in an invalid XML file getting generated in the target

For ex. If my Source CSV file is of 5.5 MB then the target file is of 13 MB (which should be fine considering the XML tags getting added) but with an incomplete XML structure.

I am giving more details about the settings which I did in the channel and a sample of the data which I want to convert:

Requirement

Sender Channel Configuration
Poll Interval (secs) = 100

Can you please let me know what should I do to get a complete XML file in the target with all the data getting converted properly?

Thank you!

0 Likes
View Entire Topic
former_member202642
Participant
0 Likes

Hi Abhishek,

XML file is getting created correctly.

All the 3 records are there in the XML file. The first line in file is header line and it is being skipped because you have mentioned "Document Offset" as 1.

Thanks,

Aamir

Former Member
0 Likes

Hello Amir,

The file which I showed above is only a sample file. Actually my CSV file is around 2 MB and has around 9500 records. This count may vary.
Now the problem is how to process these many records successfully and generate only one file in the target folder.

Thank you!