File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Document

 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 85
Java Linux MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally DOM Model is the Best way to create XML Documents.
 
g tsuji
Ranch Hand
Posts: 649
3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic