This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.
Joined: Apr 16, 2006
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.