Recommendation on Best XML API to create XML 1.0 files

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

Joined: Apr 16, 2006
Posts: 22

posted Mar 15, 2008 09:49:00

0

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.