Friday, 17 October 2014

What is XML Parser ?


A Parser is a program, that is used to validate and extract the useful information from given document.

Why we need XML Parser ?
XML parsers do below things for you
1.   Checks for the document well-formedness.
2.   Validates the document against given DTD/XML Schema.
3.   Understand the CDATA Section
4.   You can extract the needed information from the document from the parser.

There are two models of XML parsers available. Those are DOM and SAX. We will discuss about these two parsers in subsequent posts.


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment