TetraSix

Majix Light 1.1

MaJix

  • What's new ?
  • TetraSix Software License Agreement for Majix
  • Downloading Majix
  • Obtaining a Java VM
  • Running Majix
  • Majix process
  • Majix user interface
  • Majix input format
  • Majix intermediate format
  • Majix output format
  • Modify input format
  • Modify XML tag names
  • Browsing XML documents
  • The configuration file
  • The tools
  • The sample
  • Comments
  • The configuration file

    Editing the configuration file

    Click on the Tools button in the Majix main dialogue box. In the list displayed in the dialogue box that appears, choose "Editing configuration file". This allows you to modify main options. The complete list of options is detailed below.

    Don't forget to validate your modifications by clicking on the Validate button.

    Options stored in the configuration file

    Majix uses a configuration file stored in its installation directory. It simply maps entry keys to values. The keys supported are:

    country
    country code
    language
    language code
    majix.check.default
    "nsgmls" if the document validation is performed using nsgmls, "sax" if it is performed by a SAX parser
    majix.dir.doc
    path name of the directory containing Majix documentation
    majix.enable.doc
    "1" if the browsing of Majix documentation is enabled
    majix.enable.msword
    "1" if MS-Word is available
    majix.enable.nsgmls
    "1" if nsgmls is available
    majix.tool.browser
    command used to run the HTML browser (for example: value="explorer" or value="netscape")
    majix.tool.browser
    name of the browser (e.g. "iexplore")
    majix.tool.nsgmls
    path name of nsgmls.exe, if available
    majix.tool.nsgmls.catalog
    path name of nsgmls catalog file, if available
    sax.driver.sax
    class name of the SAX driver; for instance "com.ibm.xml.parser.SAXDriver" for IBM's XML for Java parser (version 1.1), or "com.jclark.xml.sax.CommentDriver" for James Clark's XP.
    xt.stylesheet.default
    path name of XSL default stylesheet

    The Majix configuration file is a XML file conforming to the following DTD:

    <!DOCTYPE configuration [

    <!ELEMENT configuration (entry+)>

    <!ELEMENT entry EMPTY>

    <!ATTLIST entry

    key CDATA #REQUIRED

    value CDATA #IMPLIED>

    ]>

    Example of configuration file

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    <!DOCTYPE configuration [

    <!ELEMENT configuration (entry+)>

    <!ELEMENT entry EMPTY>

    <!ATTLIST entry

    key CDATA #REQUIRED

    value CDATA #IMPLIED>

    ]>

    <configuration>

    <entry key="xt.stylesheet.default" value="C:\majix\userdoc\programs\simple.xsl"/>

    <entry key="country" value="US"/>

    <entry key="majix.tool.nsgmls" value="c:\sp\bin\nsgmls.exe"/>

    <entry key="majix.tool.nsgmls.catalog" value="SGML_CATALOG_FILES=c:\sp\pubtext\xml.soc "/>

    <entry key="majix.enable.nsgmls" value="1"/>

    <entry key="sax.driver.class" value="com.ibm.xml.parser.SAXDriver"/>

    <entry key="majix.enable.msword" value="1"/>

    <entry key="majix.dir.doc" value="e:\usr\dev\majix-1.1\userdoc\html"/>

    <entry key="majix.check.default" value="sax"/>

    <entry key="language" value="en"/>

    <entry key="majix.enable.doc" value="1"/>

    <entry key="majix.tool.browser" value="iexplore"/>

    </configuration>


    Copyright TetraSix, 1999 - info@tetrasix.com