Contents
Index
Search

1.1. Additional or alternative addon/ directories

Additional or alternative addon/ directories may be specified by the means of the XXE_ADDON_PATH environment variable.

If the XXE_ADDON_PATH environment variable is set to a non empty string, the content of this variable must be a list of directory names separated by character ";" (even on Unix). All the directories referenced in this list are recursively scanned by the XXE desktop application during its startup.

  • File names and "file://" URLs are both supported. Windows example:

    C> set XXE_ADDON_PATH=C:\xxe\doc\configure\samples\example1;\
    file:///C:/xxe/doc/configure/samples/example2
  • If this path ends with ";+", XXE_install_dir/addon/ is also scanned at startup time. Otherwise, this system directory, containing a large number of add-ons (DITA configuration, DocBook configuration, spell-checker, etc), is completely ignored.

  • Form @absolute URL is also supported.

    Absolute URL specifies the location of a text file containing a list of (generally relative) URLs to be scanned by XXE. The URLs in this list are separated by white space.

    Example, sample_configs.list:

    example1
    example1/example1.css
    example1/example1.dtd
    example1/example1.xml
    example1/example1.xxe
    example1/example1_catalog.xml
    example2
    example2/example2.css
    example2/example2.xml
    example2/example2.xsd
    example2/example2.xxe
    example2/example2_catalog.xml

    Unix example:

    $ export XXE_ADDON_PATH="@http://www.foo.com/xxe/sample_configs.list;+"