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

843834Dec 2 2009 — edited Dec 4 2009
I have a large xml file which i would like to split based on name of element and number of elements, so if i have 100000 <ELEMENT_A></ELEMENT_A> (as well as other elements) in file i want to generate 10 new files with 10000 elements each (only the ELEMENT_A elements).

Wats the easiest and quickest way to do this, code would be welcomed
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2010
Added on Dec 2 2009
3 comments
282 views