File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parsing huge xml files

 
Preetham Chandrasekhar
Ranch Hand
Posts: 98
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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: 13045
6
  • 0
  • 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