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 |
wild card character in sql ?
What should one do to make class serializable?
What re interop services?
What is the cli? Is it the same as the clr?
how to change the application name?
What is a sealed Class? What is the differnce between sealed class and private class?
Tell me .net mobile emulators? : Microsoft dot net mobile
What is a service contract, operation contract and data contract?
What are the five stages in a dlx pipeline? : Dot net architecture
6. Wcf- what is SOA
Difference between abstract class and interface
100 Answers Accenture, Altruist, Baba Group, CitiGroup, Fiserv, HCL, IBM, iGate, Infosys, Jean Martin, Karthik Industries, Microsoft, OnDLine, TCS,
Can I create my own metadata attributes?