This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parsing huge xml files

 
Preetham Chandrasekhar
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Preetham Chandrasekhar
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually modifying my question....

parsing AND MODIFYING a huge xml file...whats the best? SAX, STAX or DOM?
 
Asim Ali
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think in ur case the best and easiest way is to use JAXB.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The XML and related technologies forum is the place for this question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic