aspose file tools*
The moose likes XML and Related Technologies and the fly likes XML Document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML Document" Watch "XML Document" New topic
Author

XML Document

Singh Harmeet
Ranch Hand

Joined: Aug 05, 2011
Posts: 115

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 :-
Harmeet Singh
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
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
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: 535
    
    3
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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML Document