How SAX is different than DOM?

How SAX is different than DOM?

We use DOM for internal presentation of XML.It is good for small XML file but bad for large files because when we use DOM for large file it present whole filw into the memory.Where SAX is work on perticular event so,it can use to find out the specific element of XML doc.It can not present data of XML.It works from top to bottom in XML file.

 We can\'t use SAX without DOM.  

Date:2014-01-09 00:00:00

Post Your Answers

User Email:

User Name:

Related XML Subjective Links

XML Subjective interview questions and answers for experienced and fresher