File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

DOM Vs SAX

ssiva kumar
Greenhorn

Joined: May 29, 2006
Posts: 9
Hi,
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
Rancher

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.

thanks,
Dave.
 
jQuery in Action, 2nd edition
 
subject: DOM Vs SAX