• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parsing XML file without loading it

 
ali haider
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
is there any way to parse a Xml file without loading it in the memory... like I have a huge file I want to parse.Now laoding it in the memory might be bulky. I have to do some massaging also on the file. That I can do by loading the file in chunks. any way I can do the parsing ?? sounds not possible.. but just wanted to ask in case some one has an idea...

thanks,
abhi
 
Bajji Pat
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Parsing the file using a SAX parser would not load it onto the memory.
U can try using one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic