FlexDoc/XML - XSDDoc - Parameter Tree
About XSDDoc parameters
«Generate Details» parameter group
This group of parameters controls the overall content of the generated XML schema documentation.The XML schema documentation generated with “XSDDoc” template set is built of large independent documentation blocks.
In the case of framed HTML documentation (generated by FramedDoc.tpl main template), each of those blocks becomes a separate HTML file (or page) that is displayed in the Detail Frame:
In the case of single file (HTML or RTF) documentation (generated by SingleDoc.tpl main template), those blocks become separate sections that follow one after another. In RTF each of those sections also has its own page header/footer.
There are the following types of documentation blocks:
- Overview Summary: This block is generated only once for the whole documentation.
- All Component Summary: This block (also generated only once) contains summaries of all schema components of the specified types throughout all XML schemas being documented.
- Namespace Overview: This block is generated for every namespace being documented.
- Schema Overview: This is generated for every XML schema.
- Component Documentation: This is the most sophisticated type of blocks that can be generated for all types of global components as well as all local elements.
- XML Namespace Bindings: A special report, which can be generated only once.
What exactly is included in particular those blocks is specified in the parameter group: Details
Parameter | Name / Type / Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
gen.for.schemas
This group of parameters allows you to select which XML schema files (and components defined in them) will be documented. The XML schema files you initially specify on the command line (or in the generator dialog) are the primary XML files to be processed by the XSDDoc template set.
However, those initial XML schemas may call (reference) from themselves some other XML schema files
(via All those initial and referenced XML schema files will constitute the whole your XML schema project. Generally, all of them must be loaded and processed in order to make sense of the declarations specified in your initial XML schemas. Some of the imported extra XML schemas may be the standard (and fairly big) ones used in other your projects. So, do you need to document all the involved XML schemas? If not, which ones? That can be specified with the parameters in this group. |
|||||||||||
gen.for.schemas.initial : boolean
Specify whether to document the XML schema files initially specified on the generator command line (or in the generator dialog). You may need to unselect this parameter, when you specify a precise list XML schema files to be documented (see “Include” parameter in this group). |
|||||||||||
gen.for.schemas.imported : boolean
Specify whether to document all additional XML schema files loaded by
When an XML schema is both specified initially on the command line and referred
from an |
|||||||||||
gen.for.schemas.included : boolean
Specify whether to document the additional XML schema files referenced from |
|||||||||||
gen.for.schemas.redefined : boolean
Specify whether to document the additional XML schema files referenced from |
|||||||||||
gen.for.schemas.include : list of strings
With this parameter, you can add a precise list of XML schemas to be documented. Each XML schema is specified in the list with its file name (the last name in the pathname's name sequence, e.g. "xml.xsd"). Multiple file names should be separated with the allowed item separator (';' or newline). This parameter works in addition to other schema selection parameters (above) and won't override them. |
|||||||||||
gen.for.schemas.exclude : list of strings
Using this parameter, you can filter out some schemas from those initially selected with the parameters above. Each excluded XML schema should be specified with its file name (the last name in the pathname's name sequence, e.g. "xml.xsd"). Multiple file names are separated with the allowed item separator (';' or newline). Note: This parameter overrides the “Include” parameter (above). That is, when a schema file is specified in both “Include” and “Exclude” parameters, it will be excluded from the documentation scope. |
|||||||||||
gen.sorting
This parameter group allows you to control the sorting of namespaces, schemas and components throughout the whole documentation. |
|||||||||||
gen.sorting.namespaces : boolean
This parameter allows you to control how namespaces are sorted throughout the whole documentation. It directly affects:
The parameter has the following meaning:
|
|||||||||||
gen.sorting.schemas : boolean
This parameter allows you to control how XML schemas are sorted throughout the documentation. It directly affects:
The parameter has the following meaning:
|
|||||||||||
gen.sorting.comps : boolean
With this parameter you can specify at once the sorting order of components for a number of locations throughout the documentation. This includes:
|
|||||||||||
gen.titlePage : boolean
Available only in SingleDoc.tpl Specify whether to generate the Title Page.The title page is available only in single-file documentation. When generated, it will be the very first page of the entire documentation. Related Template:
|
|||||||||||
gen.titlePage : boolean
Available only in SingleDoc.tpl Specify whether to generate/insert the Table Of Contents of the documentation, which is available both in HTML and RTF format.
In the case of RTF, the Table Of Contents (TOC) is actually not generated by FlexDoc. Rather, a special RTF "{TOC}" field is inserted.
The real TOC is generated by MS Word according to that field
and style/level paragraph settings specified on the headings of major documentation sections.
Those heading will form TOC according to the documentation structure.
See Also Parameter:
To have the Table Of Contents generated, the document should be loaded in MS Word and the {TOC} field updated. For instance, you can press Ctrl-A (select all) and then F9 (update selected fields).
|
|||||||||||
gen.overview : boolean
Specifies whether to generate the Overview Summary page/block. The Overview Summary may be generated only once for the entire XML schema documentation. It appears the first in the Detail Frame of framed documentation (when it is started) or on the first page of single file documentation (RTF). The exact content of the Overview Summary is controlled by the parameter group:
|
|||||||||||
gen.allcomps : boolean
Specifies whether to generate the All Component Summary page/block. This page/block may be generated only once for the entire XML schema documentation. It contains summaries of all schema components of the specified types throughout all schemas being documented. The exact content of the All Component Summary is controlled by the parameter group:
|
|||||||||||
gen.allcomps.join.overview : boolean
Specify whether the summary of all components should be added to the Overview Summary page (instead of creating a separate page for it). That may be more convenient for small XML schemas. |
|||||||||||
gen.namespace : boolean
Specifies whether to generate the Namespace Overview pages/blocks. When specified, the Namespace Overview will be generated for each namespace being documented (i.e. targeted by at least one of the documented XML schemas). The exact content of the Namespace Overview is controlled by the parameter group:
|
|||||||||||
gen.schema : boolean
Specifies whether to generate the Schema Overview pages/blocks. When specified, the Schema Overview will be generated for each XML schema being documented. The exact content of the Schema Overview is controlled by the parameter group:
|
|||||||||||
gen.comp : boolean
Specifies whether to generate Component Documentation pages/blocks (i.e. details of XSD components). The exact content of the Component Documentation is controlled by the parameter group:
|
|||||||||||
gen.comp.element : boolean
Specifies whether to generate the detailed Component Documentation for each global element component and some of the local element components defined across all XML schemas being documented. Nested Parameter:
|
|||||||||||
gen.comp.element.topLevel : boolean
Specify whether top-level elements should be grouped separately from all other elements (i.e. at the top of the whole element list/summary and under a separate heading). This parameter affects:
|
|||||||||||
gen.comp.element.topLevel.sorting : boolean
Specify whether to sort the list (summary etc.) of top-level elements. Typically, there is only one such an element. So, no sorting is needed. But in some cases, there may be several elements satisfying the top-level criteria. In that case, you may want to have them sorted. When sorting is disabled, the elements will follow in the same order as they are defined in the schemas and those schemas are processed. Default Value:
|
|||||||||||
gen.comp.element.local : enum {"all", "complex_type", "none"}
Specifies whether to generate the separate (global) Component Documentation for local elements (i.e. locally defined element components). Possible Choices: "all"
|
|||||||||||
gen.comp.element.local.unifyByType : boolean
Specify whether to unify local elements by type:
|
|||||||||||
gen.comp.element.local.storeByParents : boolean
Specify how the documentation of local elements (and their diagrams) must be stored.
This parameter can be used (enabled) only when the parameter
When this parameter is
false ).
If the unification by type is enabled, several local elements defined in different locations
may be documented together in the same documentation file. This breaks the whole idea of storing
element docs according their definition locations!
In that case, this parameter is disabled and false .
true ,
all documentation files for local elements will be stored in the subdirectory structure reproducing their parent components
(in which they are defined).
Namely, for a local element
The component diagrams are stored in the same directory along with the component documentation files
under the same names however with different extension (corresponding the image format), e.g.:
When this parameter is
false , all element documentation files
are stored in the same directory:
However, if you don't need that, the produced HTML documentation files will be more compact (as all links to local element docs will be shorter). See Also Parameter:
|
|||||||||||
gen.complexType : boolean
Specifies whether to generate the detailed Component Documentation for each global complex type component. See Also Parameter (only for SingleDoc.tpl):
|
|||||||||||
gen.comp.simpleType : boolean
Specifies whether to generate the detailed Component Documentation for each global simple type component. See Also Parameter (only for SingleDoc.tpl):
|
|||||||||||
gen.comp.group : boolean
Specifies whether to generate the detailed Component Documentation for each global element group component. See Also Parameter (only for SingleDoc.tpl):
|
|||||||||||
gen.comp.attributeGroup : boolean
Specifies whether to generate the detailed Component Documentation for each global attribute group component. See Also Parameter (only for SingleDoc.tpl):
|
|||||||||||
gen.comp.attribute : boolean
Specifies whether to generate the detailed Component Documentation for each global attribute component. See Also Parameter (only for SingleDoc.tpl):
|
|||||||||||
gen.xmlnsBindings : boolean
Specifies whether to generate the Namespace Bindings report. This report will allow you to quickly find by any namespace prefix used in the source XSD files the namespace URI associated with it and the exact location where that namespace binding is specified. See Also Parameter (only for SingleDoc.tpl):
|