XSDDoc template set provides two main templates:
FramedDoc.tpl
– to generate framed multi-file (Javadoc-like) HTML documentationSingleDoc.tpl
– to generate single-file HTML and RTF documentation
Main template is the one, which can be specified for interpretation directly to the generator
(either with -template
option on the Java command line or in the Generator Dialog).
Effectively, each main template represents a separate documentation generator.
{flexdoc-xml}/templates/XSDDoc/
{flexdoc-xml}
is a designation of your FlexDoc/XML installation directory, e.g.: C:\flexdoc-xml-1.13\
File / Directory | Description |
---|---|
README.html
|
this file |
CHANGES.html
|
change log of XSDDoc templates |
FramedDoc.tpl
|
The main template to generate framed HTML documentation. |
SingleDoc.tpl
|
The main template to generate single-file documentation (in HTML or RTF format). |
help/
|
The descriptions of parameters of both main templates; used by the Parameter Inspector. |
lib/
|
The directory containing all subtemplates (and icon files) that power the XSDDoc template application. |
xsddoc.xmltype
|
The configuration file that defines the 'xsddoc' XML type,
on which all XSDDoc templates are based.
|
css/azure-theme.css
|
An alternative skin for HTML documentation (both framed and single-file). See: Using azure-theme.css |
Note: All files and directories are located in XSDDoc home directory: {flexdoc-xml}/templates/XSDDoc/
Please note that some general functionality (i.e. template language) used in a particular version of XSDDoc may be available only since the specific version of FlexDoc/XML. For instance, XSDDoc version 2.9.5 requires FlexDoc/XML version 1.13 or later.
{flexdoc-xml}/lib/
For instance, the whole data processing in XSDDoc is based on the standard XML schema for XSD 1.0 (http://www.w3.org/2001/XMLSchema.xsd
),
which is specified in xsddoc.xmltype
file and
must be loaded each time when running XSDDoc. But of course it is not loaded from the Internet.
Rather, a local copy is used, which is stored in {flexdoc-xml}/lib/resources/
directory.
The default XML catalog {flexdoc-xml}/lib/resources/catalog.xml
redirects the external schema URL to that copy.
Its integrity is critical for running XSDDoc!
License Type | Description |
---|---|
Demo License |
Once you have downloaded FlexDoc/XML archive, you can run XSDDoc
immediately and see what it is. You don't need to request any trial and register anywhere!
By default, everything will work in demo mode. It means that all your input XSD files will be fully processed, however fully documented will be only limited number of components. XSD diagrams will be generated as well by any diagramming plugin you choose (DiagramKit by default) and as many as it's allowed by XSDDoc demo limits. What exactly the demo limits are depends on a particular main template (as well as some metrics). If those limits are not reached, you will get the complete documentation. Otherwise, some content will be omitted and the message included saying which limits were exceeded. Anyway, the result documentation will be minimally distorted, to allow you to evaluate how everything will look under the full license. Any documentation generated in demo mode is yours. You may use it for free as you wish. |
Full License |
The full (or commercial) license unlocks all functionality implemented in XSDDoc template set.
In particular, you will be able to:
|
Trial License |
The trial license is functionally the same as the full one.
The difference is that:
You can also request a trial of all FlexDoc/XML features (products) together by this link:
https://www.flexdoc.xyz/trial/?pid=flexdoc-xml
|
{flexdoc-xml}/templates/XSDDoc/
Actually, the XSDDoc template application is quite autonomous.
You can copy/move (or rename) the 'XSDDoc/'
directory to any other location and run the XSDDoc templates directly from there.
This may be particularly useful when you want to modify something in the original templates and derive your own version of XSDDoc.
This section describes how to generate framed HTML documentation. To generate RTF documentation, you should do the same except:
use SingleDoc.tpl
(instead of FramedDoc.tpl
)
and select RTF format (instead of HTML).
generator.bat
found in {flexdoc-xml}/bin
directory. You will see the generator dialog.
While running XSDDoc templates for large XML schema projects,
the template interpreter may require a lot of memory. The lack of memory may considerably
slow down the generation (or even cause the OutOfMemory exception)!
To avoid this, make sure the maximum heap size available for JVM is 512Mb or more
(e.g. Java option -Xmx512m
sets the maximum heap size to 512Mb).
Note also that on 64-bit OS (running 64-bit Java), that amount should be doubled!
So, on Windows 64-bit you should specify -Xmx1024m
.
FramedDoc.tpl
template.
You can choose this template from 'templates/XSDDoc'
directory using File Chooser.
http://www.w3.org/2001/XMLSchema.xsd
)
The FramedDoc.tpl
main template can generate only framed HTML documentation!
Diagramming Plugin | Description |
---|---|
DiagramKit | The native diagramming engine of FlexDoc/XML. It creates beautiful XSD diagrams that can be generated simultaneously along with (and inserted into) the documentation generated by XSDDoc (with the support of all possible hyperlinks). This diagramming plugin is activated by default. You don't need to setup anything. |
See also: Docs | FlexDoc/XML | XSDDoc | FAQ | Running XSDDoc | How to include diagrams?
azure-theme.css
is a CSS style sheet that implements an alternative skin (look & feel)
for HTML documentation generated by XSDDoc. It is applicable with both FramedDoc.tpl
and SingleDoc.tpl
main templates. (You can use it also as a base for your own customizations.)
To apply azure-theme.css
, please follow the same steps as described in Running XSDDoc.
On the step of selecting HTML format, click «Options» button and in the HTML Options dialog, which should appear,
specify:
azure-theme.css
path name
{flexdoc-xml}/templates/XSDDoc/CHANGES.html