what is the difference between SAX Parser and DOM Parser??

Answer Posted / chaitheesh

sax is simple api for xml
it read the first xml data and get outputed backward is not
possible,
dom is doccument object model
through dom we can create a xml data as a tree and it is
loaded in memory so we can easily access the data

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is interceptor in Struts2?

561


What is difference between struts1 and struts2?

493


Does apache tomcat use struts?

499


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

623


Can you give an overview of how a struts application flows?

523






What is ognl?

595


what is ACID test for fresh engineers??what is the pattern??

2361


What are the Core classes of Struts Framework?

581


What is the purpose of @conversionerrorfieldvalidator annotation?

612


What is an interceptor stack?

569


What is the difference between plain-validator and field-validator?

515


How many instances of servlet usually run in a struts application ?

533


What are the two scope types for formbeans?

603


What is the purpose of @beforeresult annotation?

570


What is the difference between filters and interceptors ?

492