Validate SGML and XML documents

One of the strengths of SGML is the possibility to validate a document, that is to let a piece of software called a parser check the document whether or not it complies with a given DTD. We will use NSGMLS from James Clark's SP suite as a validating parser. This parser will work just fine for XML documents as well.