Splitting large xml files in to sub files without memory contention

Viewed 1390

I have a XML like following

<Jobs>
   <job>
   ....
   </job>
   <job>
   ....
   </job>
   ....
</Jobs>

Now what is best way to write each job node in a separate file without bringing the whole file in to memory using xmlreader and xmlwriter or anyother options?

3 Answers
Related