File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Splitting of XML files using SAX
Joined: Apr 20, 2007
May 03, 2007 09:36:00
I have big xml files and I need to split tthat files into multiple xml files. Since DOM has the memory constraint I guess I'll go with SAX. And also I need to maintain well formedness of xml files.
Any tips or links that can be helpful.
Author and all-around good cowpoke
Joined: Mar 22, 2000
May 03, 2007 12:55:00
The most important SAX tip is -
Remember that the characters() method can be called any number of times while parsing a single text node.
I agree. Here's the link:
subject: Splitting of XML files using SAX
Which XML Parser should I use?
How can I validate the XML schema with XML files using localpath?
Recommendation on Best XML API to create XML 1.0 files
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014