What is a parser. What does a parser do with a XML? Why do
we need it?



What is a parser. What does a parser do with a XML? Why do we need it?..

Answer / sanjay rawat

Parser is used to parser the xml file it parse the xml file
and set the data in the domain model and if the Schema
validation is set to true then it will validate the xml file
against the Schema .Parser is needed for reading the data
from the xml node and to populate that data

Is This Answer Correct ?    13 Yes 4 No

Post New Answer

More Servlets Interview Questions

Describe in brief RequestDespatcher?

0 Answers   Tech Mahindra,


What do you understand by mime type?

0 Answers  


Why the concept of single thread model interface is used?

0 Answers  


What is a deployment descriptor?

0 Answers  


How can you maintain servlet chaining?

1 Answers  






What is ServletContext object?

0 Answers  


What is meant by Servlet? What are the parameters of service method?

0 Answers  


Can we override the ActionServlet?

3 Answers   ArisGlobal, HCL, PPF,


What is the difference between an applet and a servlet?

15 Answers   GCEW, Miracle Solutions,


Explain the role of dispatcherservlet and contextloaderlistener.

0 Answers  


What are the servlet events?

0 Answers  


Explain life cycle of a Servlet?

2 Answers  


Categories