FlexDoc/XML - XSDDoc - Parameter Tree

About XSDDoc parameters

«Navigation» parameter group

This group of parameter controls the generation of the frameset and various navigation lists used in Framed HTML Documentation.

Parameter Name / Type / Description

Overview Frame

nav.overviewFrame : boolean

Specify whether to generate the Overview Frame.

The Overview Frame contains the primary navigation lists (such as the lists of namespaces and XML schemas that have been documented). This might be more important for large XML schema projects (with multiple schemas/namespaces). For a small XML schema or when you generate some specialized documentation, you may find that the Overview Frame redundant.

Nested Parameter:
Specify the title placed at the top of the Overview Frame.
Related Template:
overview-frame.tpl

Title

nav.overviewFrame.title : string

Specify the title to be placed at the top of the Overview Frame.

The text specified with this parameter may contain HTML tags, which will be rendered with the corresponding formatting. See also: Using HTML markup in annotations

Default Value:
Provided by the parameter: Literal Input | Header Text

List Frame

nav.listFrame : enum {"allcomps", "namespace", "schema"}

This parameter allows you to customize the initial content of the List Frame, which is used to display one of the second-level navigation pages associated with a particular selection in the Overview Frame. This includes:

  • The list of all components
  • The list of all schemas/components that target/belong to a particular namespace
  • The list of components defined in a particular XML schema
Possible Choices:

"All Components"

Load the first the All Components Page.

This page lists all global components and local elements defined throughout all XML schemas being documented.

You can customize precisely what is included in that list (as well as how it is sorted) using the parameters: Navigation | List Frame | All Components

"Namespace"
This selection causes a Namespace Navigation Page generated for one of the documented namespaces to be loaded the first.

There may be several such pages, a separate page for each namespace. The loaded will be one, which has been generated the first. This is controlled by the parameter: Generate Details | Sorting | Namespaces

The generation of Namespace Navigation pages is controlled by the parameter group: Navigation | List Frame | Namespace

"Schema"
This selection causes a Schema Navigation Page generated for one of the documented XML schemas to be loaded the first.

There may be several such pages, a separate page for each XML schema. The loaded will be one, which has been generated the first. This is controlled by the parameter: Generate Details | Sorting | Schemas

The generation of the Schema Navigation pages is controlled by the parameter group: Navigation | List Frame | Schema

Note:
When the specified component list (HTML page) is not available (has not been generated), by default, the initially loaded document is chosen according to the following priority list:
  1. All Components
  2. Namespace
  3. Schema
Nested Parameters:
Control the generation and content of particular navigation lists loaded in the List Frame.

Table of Contents

nav.listFrame.toc : boolean

Specify whether to generate the Table of Contents box at the top of on each navigation page.

This box includes the links to all list groups, which allow you to quickly jump to any group, particularly when there are lots of items.

All Components

nav.listFrame.allcomps : boolean

This parameter specifies whether to generate the All Components navigation page.

This page lists all global components and local elements defined throughout all XML schemas being documented.

The component list is broken into separate groups according to component types (e.g. elements, complexTypes etc). Using corresponding nested parameters, you can specify the components of which types should be included in the list.

The sorting order of components within a type group is controlled by the "Sorting" nested parameter.

Default Value:

Copied from the value of the parameter: However, it will be also true when both parameters are false:
Related Template:
all-components-frame.tpl

Link To

nav.listFrame.allcomps.linkTo : enum {"details", "xml_source"}

With this parameter you can choose the destination of the component hyperlinks generated in this list.

Possible Choices:

"Component Details"

All component hyperlinks will go to the component details, which are the Component Documentation pages generated for each component.

The generation of the Component Documentation is controlled by:

"XML Source"
In this case, each component hyperlink will be directed to the definition of this component within the reproduced full XML schema source.

That effectively will allow you to use the component list as an index to your XML schema source.

Note that the full XML schema source is reproduced either on the Schema Overview page or on a separate page. That is controlled by the parameter group: Details | Schema | XML Source

Notes:
  • When a particular hyperlink destination corresponding to this parameter setting does not exist (has not been generated), an alternative destination will be tried (e.g. the component's XML source instead of the Component Documentation and vice-versa).
  • All pages loaded by the component hyperlinks will be targeted to the Detail Frame (see also the parameter group: Navigation | Detail Frame).

Sorting

nav.listFrame.allcomps.sorting : boolean

With this parameter you can specify the sorting order of components (within each component type group).

The exact meaning of this parameter is the same as of the parameter

Generate Details | Sorting | Components
from which it also inherits its default value.

Elements
Local Elements
Complex Types
Simple Types
Element Groups
Global Attributes
Attribute Groups

nav.listFrame.allcomps.elements : boolean
nav.listFrame.allcomps.element.local : enum {"all", "complex_type", "none"}
nav.listFrame.allcomps.complexTypes : boolean
nav.listFrame.allcomps.simpleTypes : boolean
nav.listFrame.allcomps.groups : boolean
nav.listFrame.allcomps.attributes : boolean
nav.listFrame.allcomps.attributeGroups : boolean

Specify whether to include in the list the components of particular types.

Default Value:

Provided by the respective parameters in the group: Generate Details | Components

Namespace

nav.listFrame.namespace : boolean

This parameter specifies whether to generate Namespace Navigation Pages.

Such a page is generated for every documented namespace and may list all XML schemas targeting that namespace as well as all global components and local elements that belong to the namespace.

The component list is broken into separate groups according to component types (e.g. elements, complexTypes etc). Using corresponding nested parameters, you can specify the components of which types should be included in the list.

The sorting order of components within a type group is controlled by the "Sorting" nested parameter.

Default Value:
Provided by the parameter: Generate Details | Namespace
Related Template:
namespace-frame.tpl

Link To

nav.listFrame.namespace.linkTo : enum {"details", "xml_source"}

With this parameter you can choose the destination of the component hyperlinks.

For details, see parameter: All Components | Link To

Sorting

nav.listFrame.namespace.sorting : boolean

With this parameter you can specify the sorting order of components (within each component type group).

The exact meaning of this parameter is the same as of the parameter

Generate Details | Sorting | Components
from which it also inherits its default value.

Schemas

nav.listFrame.namespace.schemas : boolean

Specify whether all documented XML schemas targeting the given namespace must be listed in the namespace navigation frame.

Default Value:
Provided by the parameter: Generate Details | Schema

Elements
Local Elements
Complex Types
Simple Types
Element Groups
Global Attributes
Attribute Groups

nav.listFrame.namespace.elements : boolean
nav.listFrame.namespace.element.local : enum {"all", "complex_type", "none"}
nav.listFrame.namespace.complexTypes : boolean
nav.listFrame.namespace.simpleTypes : boolean
nav.listFrame.namespace.groups : boolean
nav.listFrame.namespace.attributes : boolean
nav.listFrame.namespace.attributeGroups : boolean

Specify whether to include in the list the components of particular types.

Default Value:

Provided by the respective parameters in the group: Generate Details | Components

Schema

nav.listFrame.schema : boolean

This parameter specifies whether to generate Schema Navigation Pages.

Such a page is generated for every XML schema being documented and may include all global components and local elements defined in that schema.

The component list is broken into separate groups according to component types (e.g. elements, complexTypes etc). Using corresponding nested parameters, you can specify the components of which types should be included in the list.

Default Value:
Provided by the parameter: Generate Details | Schema
Nested Parameters:
Control the generation of the page content; similar to the “All Components” parameter group.
Related Template:
schema-frame.tpl

Detail Frame

nav.detailFrame : enum {"overview", "allcomps", "namespace", "schema"}

This parameter group allows you to customize the content of the Detail Frame, which is used to display the actual documentation content.

Possible Choices:

"Overview"

First, load the Overview Summary page.

The generation of this page is controlled by parameters:

"All Components"
Start with the All Component Summary page.

The generation of this page is controlled by parameters:

"Namespace"
This selection will cause loading the first some of the Namespace Overview pages.

The documentation may contain several such pages – a separate page for each namespace. Among them, the one will be loaded that was generated the first. This is controlled by the parameter:

Generate Details | Sorting | Namespaces
The generation of Namespace Overview pages is controlled by parameters:
"Schema"
This selection will cause loading the first some of the Schema Overview pages.

The documentation may contain several such pages – a separate page for each XML schema. Among such pages, the one will be loaded that was generated the first. This is controlled by the parameter:

Generate Details | Sorting | Schemas
The generation of Schema Overview pages is controlled by parameters:
Note:
When the specified page is not available (has not been generated), by default, the initially loaded document is chosen according to the following priority list:
  1. Overview Summary
  2. All Component Summary
  3. Namespace Overview
  4. Schema Overview
  5. Component Documentation
  6. Namespace Bindings Report
Nested Parameters:
Specify what is initially loaded into the Detail Frame, as well as other navigation features added to detail pages.

Header

nav.detailFrame.header : boolean

Specify whether to add the Detail Header to each detail page, as shown on this screenshot:

The Detail Header contains the following things:
  • Custom Logotype. Its presence is controlled by the nested parameter:
    Navigation | Detail Frame | Header | Logotype
    where you can read how to change it.
  • Header Title, which is specified with the parameter:
    Literal Input | Header Title
  • Header Text, which is specified with the parameter:
    Literal Input | Header Text
Related Templates:
nav-top.tpl

Logotype

nav.detailFrame.header.logo : boolean

Specify whether to display the custom Logotype on the left of the Detail Header (see on the screenshot above).

The logotype image is loaded from the file:

{flexdoc-xml}/XSDDoc/templates/lib/images/logo.png
where you can replace it with something of your own.

Navigation Bar

nav.detailFrame.navBar : boolean

Specify whether to add the Navigation Bar to each detail page (see on the screenshot above).

The Navigation Bar contains links to some important pages as well as the dynamic Search-Box. It is displayed both at the top at bottom of each detail page.

See Also Parameter:
Navigation | Search
Related Templates:
nav-bar.tpl, nav-top.tpl, nav-bottom.tpl

Search

nav.search : boolean

Specify whether to generate the dynamic search functionality as shown on the following screenshot (click to view in full size):

That includes:
  • The interactive search-box embedded in the navigation bar.
  • Search indices
  • Search Help page that both explains the search queries and shows some search index statistics.
  • Javascript files implementing the dynamic search functionality.
    The dynamic search-box is implemented using JQuery UI. So, jQuery library files are also copied into the generated documentation.
Note:
The schema components are index by their names, which may include namespace prefixes, e.g.:
xs:schema
or
xsd:schema

The prefix helps to distinguish which namespace the component belongs to. That may be important when several XML schemas targeting different namespaces are documented together. The presence of namespace prefixes in the component names does not impair the dynamic search.

Whether the namespace prefixes is added to the component name is controlled by the parameter: Show | Namespace Prefixes
Nested Parameter:
Specify which XML schema components are indexed.
Related Templates:
search.tpl

Elements

nav.search.elements : boolean

Specify whether to index element components (both global and local ones).

Default Value:

By default, this parameter is true when there are documented elements anywhere. That is, either of the following parameters is selected:

Attributes

nav.search.attributes : boolean

Specify whether to index attribute components (both global and local ones).

Default Value:

By default, this parameter is true when there are documented attributes. That is, either of the following parameters is selected:

Complex Types
Simple Types
Element Groups
Attribute Groups

nav.search.complexTypes : boolean
nav.search.simpleTypes : boolean
nav.search.groups : boolean
nav.search.attributeGroups : boolean

Specify whether to index global (named) components of particular types.

Default Value:

Provided by the respective parameters in the group: Generate Details | Components