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 types of memory management? : .NET Architecture

710


how we can fire event in databound column in datagrid without using button?

792


What is one way operation?

746


Explain write back and write through caches? : Dot net architecture

776


What actually happes when you add a something to arraylistcollection ?

678


Explain some of the disadvantages due to microsoft.net?

753


What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile

730


where should I put this information then?

766


how to change the title of my window?

1628


What are the different pipelining hazards? : Dot net architecture

804


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

1772


What are the options provived by vss to the user? how it will help us while delevoping application?

1982


Different types of authentication modes in .net framework ?

744


How can I write my own .NET host?

772


What is Object Caching in Visual Studio 2010?

773