cancel
Showing results for 
Search instead for 
Did you mean: 

1 xml file to multiple xml files with 200 records in each

Former Member
0 Kudos

Hello Experts,

I have below scenario.

Please suggest me which might be the best approch to work on.

1) XML file to XML file

I will have 1 pretty huge XML file which i need to break in multiple XML files with 200 records each.

1) first approch i can have bpm in which i can split the file according to my requirement.

2) Second approch i can create 2 scenarios in which 1st scenario will pick up XML file and create multiple flat files with File content conversion. Second scenario will pick up all these flat files and create XML files.

2) XML file to XML file

Or i can have multiple files with 1 record per file and i need to merge in multiple XML files with 200 records in each.

So its kind of 1:N or M:N scenarios.

Please tell me which is might be better performance and design wise.

Or if you have any idea in any other way i can do this, then please reply as soon as possbile.

Please tell me if you have OS command for the same or some script to run or anything which i can implement.

Thanks,

Hetal

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

MDM is ready to send messages in chunks.

Former Member
0 Kudos

Hi

if you know which one is your break for each file, you can use XSLT mapping

Kfir

Former Member
0 Kudos

I am using XSLT mapping only.

Can you please tell me how to do that?

Thanks,

Hetal

former_member181985
Active Contributor
0 Kudos

what is your senario? is it File to File?

You can use multi mapping concept without BPM. You can handle the 200 records per message logic in the multimapping.

Regards,

Praveen Gujjeti.