Once you have prepared all the input files, you can compile them into a set of standard product files. There are two forms of output:
One convenient form is an XML file that incorporates all the various facets of the taxonomy into a single file. XML tools are becoming quite common nowadays, so this file may be sufficient for your needs. The structure of this file is described below using the Relax NG schema language; see Section 8, “Schema for the XML product file”.
This file is also the only input necessary for the
Python-language interface described later in this
document; see Section 9, “The Python taxonomy package, txny.py: the interface”.
The same information can instead be written to a set of “flat files” that give the same information in a form more immediately usable in database applications. See Section 7, “ Flat output files ”.
The nombuild program checks the
various input files and writes its output as either XML or
flat files. To run this program, change to the directory
containing all the input files and type the command in this
format:
nombuild [-x] basename
where the command line options are:
-x
Use this option to write XML output files. The default is to write the output as a set of flat files.
basename
This is the name of the standard forms file without
its “.std”
suffix. The program expects to find a corresponding
alternate forms file with the same base name and
suffix “.alt”.
If there are any problems with the input files, the program
will produce error messages on the standard output stream,
and also produce a duplicate listing of these errors in
file nombuild.log.