XML Parsing
Home ] Up ] Why XML? ] Domain-Specific MLs ] XML for XML ] [ XML Parsing ] XML Documents ] XML Namespaces ] DTD and XML Schema ] Using Java with XML ]

 

Validating XML Parsers
Non-Validating XML Parsers
XML Parsing Models
XML Checkers & Validators

 

XML parsers come in two flavors:

  • non-validating: the parser does not check a document against any DTD (Document Type Definition -- see later); it only checks that the document is well-formed (that it is properly marked up according to XML syntax rules)
  • validating: in addition to checking well-formedness, the parser verifies that the document conforms to a specific DTD (either internal or external to the XML file being parsed).

You probably want to use a validating parser for most purposes.

Most XML parsers are free.  The Internet Explorer, Firefox, and Opera browsers now come with XML parsing support.

There are also several different XML parsing models, which we'll discuss briefly.

 
The page was last updated February 19, 2008