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 Best Parser for extracting data from XML. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Best Parser for extracting data from XML." Watch "Best Parser for extracting data from XML." New topic
Author

Best Parser for extracting data from XML.

Sakthi Ramasamy
Greenhorn

Joined: Jun 02, 2008
Posts: 17
I have very large XMLs which has huge chunk of data. Which parser is best to use for processing and retrieval of the data? I tried with DOM but it is throwing Heap Memory Exception. The XML Files are more than 8 MB. Is Castor API a better one to try out?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
Take a look at SAX - it uses less memory than any of the DOM-like APIs.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best Parser for extracting data from XML.
 
Similar Threads
XML parser
parser
XML Parser
XML Parser
Parsing technique to be used for reading XML message .