BASH SHELL SCRIPT to split a big xml file into multiple small files
One solution is to write a XSL file and use xsltproc
with the stylesheet and the xml file to generate the single files.
See How to split XML file into many XML files using XSLT for an example.