Split 1GB Xml file using Java

I have a 1GB Xml file, how can I split it into well-formed, smaller size Xml files using Java ?

Here is an example:

<records>
  <record id="001">
    <name>john</name>
  </record>
 ....
</records>

Thanks.

12
задан user534009 2 March 2011 в 17:12
поделиться