File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes DOM Vs SAX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic


ssiva kumar

Joined: May 29, 2006
Posts: 9
What are the differents between DOM and SAX...

DOM-->Tree Structure Data Dealing(What is meaning for tree)
SAX-->Event Data Dealing..(What is event)

But i have doubt for all xml is a tree structur view why we use sax some time and dom also some... plz explain when will we use sax and dom....
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Please don't post the same question in multiple forums. It creates duplicate conversations and wastes the time of the people trying to help you.

I agree. Here's the link:
subject: DOM Vs SAX
jQuery in Action, 3rd edition