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

Recommendation on Best XML API to create XML 1.0 files

 
Frederic Thierry
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Does anyone have any ideas on what the best API for writing XML1.0 to a file.
I am aware of SAX, JAXP, StaX and DOM however I not sure which would be the simplest to use to create a simple XML file. Has anyone out there had any experience using any of these API's, your recomendations will be really appreciated.

Thank you.

Fred
 
Frederic Thierry
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh actually I have decided to use stAx, because I need to create a large XML file. SAX cannot write and DOM is not the best soluion with large files.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic