wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Recommendation on Best XML API to create XML 1.0 files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Recommendation on Best XML API to create XML 1.0 files" Watch "Recommendation on Best XML API to create XML 1.0 files" New topic
Author

Recommendation on Best XML API to create XML 1.0 files

Frederic Thierry
Greenhorn

Joined: Apr 16, 2006
Posts: 22
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

Joined: Apr 16, 2006
Posts: 22
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.
 
 
subject: Recommendation on Best XML API to create XML 1.0 files
 
Similar Threads
Is there some kind of tool to convert xml to persistence ejb entity been?
com.sun.xml.tree package
creating xml file using DTD
Binary File Parsing
basic technology