I have an xml file (sample below) that is massive. hundreds of megs maybe
thousands. I need to split it up into multiple files so each file gets a
copy of the header element and sub elements and 1 detail element. There
will be 1 file created for each detail element. Any tips how to do this?
Can I get away with not loading the whole file into memory at one time?
sample:
<header>
</header>
<details>
<detail />
<detail />
<details />