aspose file tools*
The moose likes XML and Related Technologies and the fly likes Regarding object model Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Regarding object model" Watch "Regarding object model" New topic
Author

Regarding object model

surya.raaj prakash
Ranch Hand

Joined: Oct 30, 2009
Posts: 76
Hi Friends,

Can you please explain to me what is difference between DOM and XOM?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18907
    
    8

Well, the difference is that one's name starts with "D" and the other's name starts with "X". But there are actually other differences. Let's see... they were written by different people... they have different class and method names... I'm sure I could go on but I don't see the point. What exactly are you looking for as an answer for this question?
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
XOM -like dom4j and JDOM- is a Java-only XML object model, whereas DOM was designed to be used with various languages. That makes DOM less of a natural fit for Java, and more awkward to use than it should be in some circumstances, because it doesn't use Java-specific language features that are not available in other languages. It's more of a personal preference which one to use.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding object model