What is the difference between SAX Parser and DOM Parser?

Answers were Sorted based on User's Feedback



What is the difference between SAX Parser and DOM Parser?..

Answer / apekshit sharma

Hi this is APEKSHIT...
SAX Parser is the one which is developed to run the java
programs especially. It uses a memory resident model. In DOM
the xml file is arranged as a tree and backward and forward
search is possible for searching the tags and evaluating the
data which it holds. It depends upon the application and
ease of data accessiblity. If we want to extract the data
from a xml file once we have to move to SAX which is one
time top to bottom read approach and if we want ot randomly
pick the data in an xml file then the tree reperesentation
of DOM model is to be put into use.

Is This Answer Correct ?    15 Yes 4 No

What is the difference between SAX Parser and DOM Parser?..

Answer / keerthika

SAX parser is event based API and DOM parse is tree-based API

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Dot Net AllOther Interview Questions

how would you manage data if u were not to use sessions or cookies ?

2 Answers   Ness Technologies,


what are ACID properties ?

3 Answers  


IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class

0 Answers   IBM,


Explain is development of a mobile web application with asp.net is very easy? : Microsoft dot net mobile

0 Answers  


what are the events for a form?

0 Answers   Six Sigma,






Explain the five stages in a dlx pipeline? : .NET Architecture

0 Answers  


Explain difference between state server and sqlserver? : .NET Architecture

0 Answers  


What is .net viewstate?

0 Answers  


Explain the types of memory management? : Dot net architecture

0 Answers  


Explain about code access security?

0 Answers  


what are constructors and destructors

1 Answers   Six Sigma,


Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?

0 Answers  


Categories