Node:Environment variables, Next:, Previous:Options, Up:Running Transbuild



Environment variables

Some special environment variables are used by Transbuild. Other standard environment variables (e.g. those for the timezone and locale) are also used, but are not described here.

SGML_CATALOG_FILES

The SGML_CATALOG_FILES environment variable specifies a colon separated list of catalog files. These are Open SGML entity catalog files which describe the mapping from external references in DTDs to local files. One use is to allows the XML validation to be performed using local copies of the DTDs rather than using the ones specified in the system ID.

An example is shown below. Here it is mapping public identifiers into local files. When these identifiers are encountered in DOCTYPE declarations, these local files are used.

PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN"	"/usr/local/w3c/xsd.dtd"
PUBLIC "-//W3C//DTD SVG 1.0//EN"		"/usr/local/w3c/svg10.dtd"
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"	"/usr/local/w3c/xhtml1-s.dtd"
TMPDIR

The TMPDIR environment variable specifies the directory in which temporary files are created. If not specified, /tmp is used.