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 a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture

0 Answers  


Explain COM with example?

0 Answers   MaxSolPro,


what is inheritancy where u required ?

0 Answers  


what is the use of SQL command builder class in C#.net? Explain how can we execute a stored procedure using C#.Net? What is the difference between .DLL and .EXE?

2 Answers  


how can u manage sessions ?

3 Answers   Ness Technologies,






7. Oop-Diff B/w Interfacse and abstract class.

3 Answers   PCS,


Explain Singleton design pattern in .net

0 Answers   Infosys,


How can a win service developed in .NET be installed or used in Win98?

1 Answers  


How resource files are used in .net?

0 Answers  


How cache is used? : Dot net architecture

0 Answers  


What should one do to make class serializable?

1 Answers  


what is diffrent beatween localprinter and networkprinter

0 Answers  


Categories