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
How are interceptors and servlet filters different?
What's the purpose of execute method of action class?
What is action support class in struts2?
Explain about struts dispatch action?
What is the purpose of plug-in tag in struct-config.xml?
What are the ways in which duplicate form submission can occur?
What is role of actionservlet?
How to get data from the velocity page in a action class?
What does the term struts mean?
What are the benefits of Struts framework?
What does validation interceptor?
Why is action servlet a singleton in struts?
What is Struts2?
What are the applications of struts?
What is the use of resourcebundle.properties file in Struts Validation framework?