what is the difference between SAX Parser and DOM Parser??
Answer Posted / rajendra
1. s->does not store xml in memory
d->store the entire xml document in memory
2. s->top to bottom traversing
d->traverse in any direction
3. s->insert or delete node is possible
d->insert or delete node is not possible
4. s->especially for java
d->not only for java
5. s->event driven,fast & lightweight
d->tree structure,heavy weight to load & store
6. s->parse the document while reading
d->load the document in memory to parse
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
What is DynaActionForm?
What is the purpose of @emailvalidator?
How is a lookup dispatch action created?
What do you mean by dynaactionform?
What is struts2 namespace?
For a single Struts application, can we have multiple struts-config.xml files?
What does execandwait interceptor?
In struts, how can we access java beans and their properties?
What is the purpose of global-forwards tag in struct-config.xml?
What are different Struts2 tags? How can we use them?
What is difference between struts1 and struts2?
What is validate() and reset() functions?
What are the two scope types for formbeans?
What are the various struts tag libraries?
what is meant by Struts Validator Framework?