Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Split XML file using SAX

843834Oct 9 2003 — edited Dec 21 2007
Hello
Can some one tell me How do I go about splitting a large XML int smaller files using the SAX Parser.

I have ruled out the use of dom taking memory overhead into consideration.

I should be able to pass the number of records that go into each files
dynamically.

If some one can share their code snippet, that would be great

cheer
rachans



Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 18 2008
Added on Oct 9 2003
7 comments
837 views