What is the difference between SAX Parser and DOM Parser?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between l1 and l2 cache? : Dot net architecture

774


difference between Response.write,server.transfer and also which one is used when ?

1696


Explain the types of memory management? : Dot net architecture

740


What is the purpose of hard disk? : Dot net architecture

734


What is the mesi? : Dot net architecture

754


Explain cache? : .NET Architecture

778


8. Oop-Why and were we use Interfacse and Abstract class.

1840


Use of Enable view state ? if turn off what happen ?

4170


4. Wcf- what Asych and Sych call and how that works

1668


What is IL code, CLR, CTS, GAC & GC?

812


how to delete the record using data reader

2140


Difference between throw exception and rethrowing ?

1875


can u give me real example of how web.config overrides the machine.config file?

1525


i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?

2552


Explain .net mobile automatic paging? : Microsoft dot net mobile

714