Chapter 7. OpenJade and onsgmls

Table of Contents
Get the files
Install OpenJade and the OpenSP suite
The first steps with OpenJade and onsgmls
Further Reading
Summary
Validate, process and transform SGML documents

Now we are able to create SGML source files with Emacs. PSGML parses the markup and prevents some, but not all markup errors. Still worse, our documents look as ugly as HTML source files which nobody will enjoy to read. So on the one hand we need an external validating parser to get validated SGML documents. On the other hand, there must be a way to create human-readable, formatted output from our sources. The SP suite written by James Clark contains all necessary tools. NSGMLS is the validating parser to check our documents. Jade (James' DSSSL engine) is an implementation of the DSSSL style language which takes a SGML document (which holds the content) and a stylesheet (which holds the formatting instructions) as input to either create printable output (using the RTF, TeX, or MIF backends) or transform it into another SGML document, e.g. HTML (using the SGML backend).

As James Clark does not have any plans for further development of Jade currently, a group of volunteers maintains newer versions of Jade. To distinguish them from the older version, the tools in the new releases were renamed to openjade and onsgmls etc., and the whole suite is maintained as two packages, OpenJade and OpenSP.

Note: As XML is essentially a subset of SGML, it is perfectly possible to use the tools described in this chapter for XML files as well. It is not uncommon to use onsgmls to validate XML files against a DTD.

Get the files

  1. OpenJade/OpenSP 1.3 Win32 binaries. Follow the link to "OpenJade 1.3 Win32 Bins"