FlexDoc/XML - Installation / Configuration Files
1. Installation
To install FlexDoc/XML on Windows/Linux/maxOS, you should:-
Unpack the downloaded
flexdoc-xml-1.15.zip
archive at some location, which we shall designate as'{flexdoc-xml}'
. -
Since FlexDoc/XML is a Java application, there must be a Java machine (JVM)
installed on your system that would run it. There are two possibilities about that:
-
You use some standard Java already present on your system or installed separately.
Please note that it must be a Java version 11 or later. Otherwise, FlexDoc/XML won't work.Then, you need to edit the corresponding command or shell script files to specify the exact location of your Java. And you can run everything.
-
Alternatively, you can download and use the «FlexDoc JRE» – several custom JVM
{OpenJDK+OpenJFX} images
prepared for Windows, Linux and macOS.
That is particularly important if you want to generate diagrams using the DiagramKit.
In that case, all necessary command or shell script files are already prepared to run them immediately.
-
You use some standard Java already present on your system or installed separately.
-
If you have a license file
flexdoc-xml.license
(received by email), copy it to{flexdoc-xml}/lib
directory.However, other location for the license file are possible.
- FlexDoc/XML | Overview | Technical Requirements | Where to get Java / JavaFX?
- FlexDoc/XML | XSDDoc | Getting Started
- FlexDoc/XML | WSDLDoc | Getting Started
- FlexDoc/XML | DiagramKit | How To Run
{flexdoc-xml}/README.html
{flexdoc-xml}/XSDDoc/README.html
{flexdoc-xml}/WSDLDoc/README.html
2. Configuration Files
FlexDoc/XML can maintain simultaneously multiple configurations, separately for different template applications.Every such a configuration is defined by the following configuration files:
File | Description |
---|---|
![]() |
The main configuration file. This is the configuration root, which points to the default locations of all
other configuration files, folders etc. It specifies:
Location:
|
![]() |
The FlexDoc/XML license file, which you should receive by email.
You may copy all your licenses into the same single license file (e.g. in the case of multiple licenses).
Location:
|
![]() |
The Template Designer configuration file.
It stores the designer configuration for the recently edited templates. This file is created and maintained automatically.
Location:
|
![]() |
The generator configuration file; used by the Generator to obtain all settings not specified directly on the command line.
This file is created and maintained automatically by the generator GUI. It contains:
|
![]() |
The default XML catalog file, which redirects the external locations of some standard XML schemas found in Internet to their local copies stored in FlexDoc/XML resources.
This file is critical for large template applications, like XSDDoc and WSDLDoc!
The location of the default XML catalog is specified in the flexdoc.config. By default, it is the file:
For instance, the "xsddoc" XML Type, on which XSDDoc templates are based, itself is based on the XML Schema for XML schemas: http://www.w3.org/2001/XMLSchema.xsd. If that schema cannot be loaded, the XML Type won't be initialized and XSDDoc won't work; nor can it even be edited in the Template Designer!
The default XML catalog was introduced to dynamically substitute the canonical locations of some standard XML schemas
(like http://www.w3.org/2001/XMLSchema.xsd)
found in Internet with their local copies stored in the FlexDoc/XML resource directory:
The default XML catalog is not activated automatically whenever some XML catalogs might be used. Instead, like all other XML catalogs, it must be selected explicitly (e.g. with -xmlcatalog option or xsd.catalogs property). The difference is that it can be specified not only with its physical URL or pathname (leading to the catalog file itself), but using the following abstract URI:
|