We export “records” to an xml file; one of our customers has complained that the file is too big for their other system to process. Therefore I need to split up the file,
xml_split - split huge XML documents into smaller chunks
http://www.perlmonks.org/index.pl?node_id=429707
http://metacpan.org/pod/XML::Twig