Parser

A software tool that checks to be sure a document follows a particular syntax.

  • A non-validating parser checks a document to be sure XML syntax rules are followed and builds a document tree from the element tags.
  • A validating parser checks the syntax, builds the tree, and compares the use of element tags to be sure they conform with the rules specified in the document's associated DTD.