Working with large XML files is not always an easy task. I am referring to files of size 25MB files and more. An approach for processing such large XML files may be to split the XML document into smaller files for processing. It is a
no brainier if you just want to split a file into multiple files, but what if you need this partial file to be accessible by an XML parser or DOM individually. You need to make sure that you have a complete node at the end of your smaller file, and you want
to skip to the next node at the beginning of your next file.