IntelliJ Java IDE
The moose likes XML and Related Technologies and the fly likes XML Document Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "XML Document" Watch "XML Document" New topic
Author

XML Document

Jimmy kalra
Ranch Hand

Joined: Aug 05, 2011
Posts: 64

in java i found that , in java there are several ways to create xml document like using DOM,JDOM , SAX etc, and even use direct file system to create xml document. but wich is the way best and good to create document in professional, which one is the most appropriate ways is use to create xml document?


With Regards :-
Jimmy Kalra
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11862
Thats simple - "it depends"

It depends on where your content is coming from, how large the document is going to be, how it is going to be used, etc.

If you will browse through the various conversations on this forum you will see lots of different approaches to lots of different problems.

Conclusion - there is no single best way.

Bill

Java Resources at www.wbrogden.com
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Generally DOM Model is the Best way to create XML Documents.
g tsuji
Ranch Hand

Joined: Jan 18, 2011
Posts: 225
Best?! If only one can give an answer to a better understood object such as what is the best way to write a text file...
 
 
subject: XML Document
 
Threads others viewed
split big DOM xml file ??
Converting XML to jsp
XML over HTTP?
Starting with Java and Xml
create xml document by xpath in java
developer file tools