aspose file tools*
The moose likes XML and Related Technologies and the fly likes Splitting of XML files using SAX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Splitting of XML files using SAX" Watch "Splitting of XML files using SAX" New topic
Author

Splitting of XML files using SAX

Fred Rogers
Greenhorn

Joined: Apr 20, 2007
Posts: 7
Hi guys,

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.

Thanks.


SCJP 1.5
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
The most important SAX tip is -
Remember that the characters() method can be called any number of times while parsing a single text node.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Splitting of XML files using SAX