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
Explain dotnet framework ?
Explain .net mobile events? : Microsoft dot net mobile
What is the .net class that allows the retrieval of a data element using a unique key?
Explain the purpose of cache? : Dot net architecture
How does .net mobile work? : Microsoft dot net mobile
how to change the title of my window?
Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?
Explain the difference between primary & secondary storage device? : .NET Architecture
What is Video Streaming in .net??
What is an asssembly qualified name? Is it a filename? How is it different?
Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture
Define a managed code? : Dot net architecture
Explain cache? : .NET Architecture
Explain the race around condition? How can it be overcome? : Dot net architecture
Explain the difference between l1 and l2 cache? : .NET Architecture