*
The moose likes Java in General and the fly likes parsing huge xml files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "parsing huge xml files" Watch "parsing huge xml files" New topic
Author

parsing huge xml files

Preetham Chandrasekhar
Ranch Hand

Joined: Nov 05, 2003
Posts: 98
what is the best way of parsing xml files in java? is SAX still the best way of parsing huge files...I know DOM is a bummer...any comments?


"In theory, there is no difference between theory and practice. But, in practice, there is."<br /> - Jan L.A. van de Snepscheut
Preetham Chandrasekhar
Ranch Hand

Joined: Nov 05, 2003
Posts: 98
actually modifying my question....

parsing AND MODIFYING a huge xml file...whats the best? SAX, STAX or DOM?
Asim Ali
Greenhorn

Joined: Nov 05, 2003
Posts: 26
I think in ur case the best and easiest way is to use JAXB.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
The XML and related technologies forum is the place for this question.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: parsing huge xml files