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 output file 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 interface, xnomo3.py”.
The same information is also written to a set of “flat files” that give the same information in a form more immediately usable in database and spreadsheet applications. See Section 7, “ Flat output files ”.
The nomcompile3 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:
nomcompile3 basename
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.