File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDOM or JDK 1.4.2?

 
Joseph Zhou
Ranch Hand
Posts: 129
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Tried the toString() in a Document object, it print out [#document: null].
Actually I built the Document object based on a simple xml file. I cann't find the related java doc for the toString()(obviously, it is not the Object's toString()).
My question is: when I want to do some DOM job, which one is better: JDOM or the stuff in JDK?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Tried the toString() in a Document object, it print out [#document: null].
See DocumentToString in our wiki.
My question is: when I want to do some DOM job, which one is better: JDOM or the stuff in JDK?
JDOM is often easier to use, but DOM is standard. These are the main trade-offs.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic