Xgridfit maintains lists of validators and processors; on starting, it consults these lists and runs the first validator and processor it can find. Xgfconfig reorders these lists so that your preferred programs are looked for first. Xgfconfig may be invoked in one of these forms:
$ xgfconfig --processors processor-list
$ xgfconfig --validators validator-list
$ xgfconfig --xgridfit-dir /xgridfit/directory
$ xgfconfig --show
The first of these selects processors (one or more of libxslt, lxml, xsltproc, saxon-6, saxon-9, xalan-j, xalan-c, 4xslt); the second selects validators (one or more of libxml2, lxml, jing, msv, rnv); the third specifies a complete path to the Xgridfit base directory (use it if you have installed Xgridfit in your own account rather than system wide); the fourth displays the current configuration.
Several of the processors and validators that Xgridfit knows about are Java programs; for these, Xgridfit needs the name and location of a .jar file (by default it assumes certain standard file names, found in /usr/share/java). Specify this with a hash-mark followed by a complete path-name for the file. Here are sample command lines:
$ xgfconfig -p saxon-9#/usr/local/share/java/saxon9he.jar lxml
$ xgfconfig --config=config.xml -V rnv msv#/home/me/java/msv.jar
The second of these commands stores the configuration in the file config.xml in the current directory. (When it starts, Xgridfit looks first for a file config.xml in the current directory; failing that, it looks for ~/.xgridfit/config.xml (Linux/Mac) or some-path (Windows); finally it looks in the Xgridfit base directory before giving up and using the default configuration.)
An Xgridfit configuration file is a simple XML file, easily editable by users. The entries in it should be all but self-explanatory.
This manual page was written by Peter Baker