[resolved] Can we Split One XML File into Multiple XML files using talend Jobs

One Star

[resolved] Can we Split One XML File into Multiple XML files using talend Jobs

Can we Split One XML File which is of 1GB or More of Size into Multiple XML files using talend Jobs....If Yes How?
Please write detailed steps to follow......
Thanks,
KPK

Accepted Solutions
One Star

Re: [resolved] Can we Split One XML File into Multiple XML files using talend Jobs

I am not able to create ,can you please attach a Job with one sample xml file as example specifying all the options to split xml file into chunks.

All Replies
One Star

Re: [resolved] Can we Split One XML File into Multiple XML files using talend Jobs

Hi
You might use tAdvancedFileOutputXML. You will find an option Advanced settings->Split Output in several files.
Regards,
Pedro
One Star

Re: [resolved] Can we Split One XML File into Multiple XML files using talend Jobs

Can somebody give detailed steps to split single XML file into multiple xml files using tAdvancedoutputXML??
One Star

Re: [resolved] Can we Split One XML File into Multiple XML files using talend Jobs

Hi
You might create a job like this.
tFileInputXML--main-->tAdvancedOutputXML
tFileInputXML: You can use it to extract all nodes.
tAdvancedOutputXML: Rebuild the structure of this XML file. And the feature "Split Output in several files" can help you split the entire XML file into several XML file. For instance, the loop Xpath query of the previous xml file is "/bills/bill/line" and the xml file loop "line" node 1000 times. Now after using tAdvancedFileoutputXML, you can loop it only 100 times in one xml file and generate 10 xml files like this.
Regards,
Pedro
One Star

Re: [resolved] Can we Split One XML File into Multiple XML files using talend Jobs

I am not able to create ,can you please attach a Job with one sample xml file as example specifying all the options to split xml file into chunks.
One Star

Re: [resolved] Can we Split One XML File into Multiple XML files using talend Jobs

Thanks I am able to Split..