• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Splitting of XML files using SAX

 
Fred Rogers
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic