What is the difference between SAX Parser and DOM Parser?
Answers were Sorted based on User's Feedback
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 |
Answer / keerthika
SAX parser is event based API and DOM parse is tree-based API
| Is This Answer Correct ? | 2 Yes | 0 No |
how to manage session in webgarden ?
3 Answers Binary Logics, Ness Technologies,
when garbage collector come into picture. ?
What is this DLL hell problem in dotnet? Can a virtual class be created/can a virtual method be created inside the class?
how to change the title of my window?
readonly syntax ?
Explain dma? : Dot net architecture
Explain write back and write through caches? : .NET Architecture
What is the difference between l1 and l2 cache? : Dot net architecture
Does .NET runtime offer Deterministic Destruction or not?
What do you know about machine.config file ?
How do I write to the application configuration file at runtime?
What does the "EnableViewState" property do? Why would I want it on or off?