File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Suggest a ideal XML API for large XML Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Suggest a ideal XML API for large XML Files" Watch "Suggest a ideal XML API for large XML Files" New topic
Author

Suggest a ideal XML API for large XML Files

Lakshmi Parimi
Greenhorn

Joined: Sep 30, 2009
Posts: 3
Hi,

Please suggest me an API that can handle large XML files. I am currently using DOM which seems to be memory intensive as it loads the entire XML and runs out of memory.


Thanks in advance,
Lakshmi
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
Have a look at SAX, which is also part of JSE.


Ping & DNS - my free Android networking tools app
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
This question comes up frequently in this forum, search recent posts for more discussion.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Suggest a ideal XML API for large XML Files