XML TutorialLesson 11Free preview
XML Parser
This lesson is part of XML · All levels
Summary
An XML parser is a program that reads XML documents and makes sure they are well-formed before further processing. Each browser generally has a built-in XML parser, while on the server side DOM and SAX parser are available as needed. The parser will stop and display errors if it finds an XML structure that violates the rules.
Key points
- XML parser validates the structure of a document when it is read
- The browser provides a built-in XML parser
- The DOM parser builds a memory tree, while SAX processes per line
- Syntax error causes the parser to stop processing
- Parser becomes a bridge between XML files and applications
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.