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

Describe the Managed Execution Process in .NET?

530


What is the purpose of Treeview control?

549


What is ILDASM ?

656


Name some changes done since version 3.0?

549


What is cache coherency and how is it eliminated? : Dot net architecture

495






What are bindings?

550


What is .net mobile input validation. : Microsoft dot net mobile

518


Explain .net mobile selectionlist control? : Microsoft dot net mobile

492


What do you know about machine.config file ?

562


Explain difference between inprocess vs out process session state? : .NET Architecture

531


What is .net transaction?

475


Can I create my own metadata attributes?

528


what is inheritancy where u required ?

1508


The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.

14054


What is .net mobile automatic paging? : Microsoft dot net mobile

572