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

can aspx page have multi language declarations ?

1 Answers  


Waht is Dot net Arcitecture

0 Answers   Donear,


hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays

0 Answers  


Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture

0 Answers  


WHAT IS COMPUTER

7 Answers   NICE, TVS,






how to make and display a form without title bar?

1 Answers   Six Sigma,


Explain the race around condition? How can it be overcome? : Dot net architecture

0 Answers  


Can you explain control extenders?

0 Answers  


How do I stop a thread?

0 Answers  


any one can explain about projectarchitecture and project approach briefly

0 Answers  


Whate are resource files? How are they used in .net?

0 Answers  


what is diffrent beatween localprinter and networkprinter

0 Answers  


Categories