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

So what exactly is the configuration file for then?

624


how to add list of items in a web application and win application?

1682


what is the difference between running an application with and without debugger?

1631


what are the fundamental and common properties of .net controls?

1704


Explain the Lapsed Listener problem in .net

761






State and explain about microsoft.net?

608


What is an interrupt? : .NET Architecture

553


What actually happes when you add a something to arraylistcollection ?

589


how to make and display a form without title bar?

1565


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

589


what are the events for a form?

1709


What does the term "green architecture" mean? : Dot net architecture

553


what is the difference between master page and content page?

2211


Explain about the base class library provided by microsoft.net?

622


Why am I getting an invalidoperationexception when I serialize an arraylist?

565