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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by mime type?

782


Explain how to improve Servlet Performance?

821


Whether we can get deadlock situation in servlets?

797


List some life cycle methods of a servlet.

781


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2508


How to get the current httpsession object?

863


What is the use of attribute in servlets?

765


How to read request headers from servlets?

788


How can you run a servlet program?

788


request parameter how to find whether a parameter exists in the request object?

771


What are the different methods involved in generic servlet?

799


What are the uses of servlets?

801


How do I know if java is running on linux?

783


What is the use of httpservletrequestwrapper?

773


How do I support both get and post from the same servlet?

927