Hi All,
I would like to split huge xml file. My final splitted files size should be less than 3 mb.
I tried to split xml file based on childnodes. But I don not get xml file with same node every time.
Advance thanks,
Darma
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Aug 5, 2014, 11:37 AM
It will obviously depend on the structure of the XML file.
For example, if you had something like this with a size of 5MB:
then an obvious way to split the file into two would be like this:
Whether both of these files were now under 3MB would depend on the relative number of grandchild nodes in each one and perhaps also the relative complexity of those nodes.
So clearly it's not a simple matter to do this and it might be easier to make the split 'manually' on a 'trial and error' basis.
VulpesPosted Aug 6, 2014, 7:06 AM
darma tejaPosted Aug 6, 2014, 6:07 AM
darma tejaPosted Aug 5, 2014, 11:45 AM