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

what is just in time compilation?

1 Answers   Six Sigma,


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

1 Answers   MindCracker,


Explain about validation?

1 Answers  


What is .net mobile images control. : Microsoft dot net mobile

1 Answers  


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

1 Answers   PCS,


what is the need of vss to developer?

1 Answers  


Explain .net mobile events? : Microsoft dot net mobile

1 Answers  


What is an asssembly qualified name? Is it a filename? How is it different?

1 Answers  


9. Oop-Class A has m1 metthode Class B has m1 metthode and C is the calss that inharits A class, A class inharits B class. If Object dim c as new A() c.m1(), Tell me which mettode of class will call

2 Answers   PCS,


What are the important principles of soa (service oriented architecture)?

1 Answers  


does .NET support multiple inheritance ?

13 Answers   Ness Technologies,


Which is the best institute in chennai to learn DotNet? Please help.

48 Answers   HCL, Infosys, NIIT,


Categories