Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDOM or JDK 1.4.2?

 
Joseph Zhou
Ranch Hand
Posts: 129
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic