FlexDoc/XML - XSDDoc - Parameter Tree
About XSDDoc parameters
«Descriptions» parameter group
This parameter group controls the processing and formatting of descriptions found in XSD files.
In case of XML schemas, the descriptions come from the content of <xs:annotation>
elements.
They appear in particular "Description" sections of the generated documentation.
See Also:
Related Templates:Parameter | Name / Type / Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
XSD Annotations |
desc.xsd.annotation
This parameter group controls some specifics about processing of XML schema annotations
(i.e. the content of
The annotation text, which appears in a particular "Annotation" section of the generate documentation,
is produced from all
'xs:annotated' is an XSD element that defines either the XML schema itself
(xs:schema ) or a schema component (e.g. xs:complexType ) being documented.
Multiple |
||||||||
desc.xsd.annotation.appinfo : boolean
Specify whether to process
If Nested Parameters:
|
|||||||||
desc.xsd.annotation.documentation : boolean
Specify whether to process
The Nested Parameters:
|
|||||||||
desc.xsd.annotation.documentation.lang :
list of strings {separators: ';', newline}
When you annotate your XML schema simultaneously in different languages, this parameter will allow you to generate the documentation localized for only one of them (that is, only the annotations written in the selected language will be included in the documentation). Parameter Value:
The 2- or 3-letter code identifying the language.
This must be the same code which you have specified in the You may also specify multiple language codes separated with semicolons (';'). For example:
'xml:lang' attribute assigned with one of the specified language codes.
When this parameter is not specified (empty string), all sibling <xs:documentation> elements are processed, which will produce a single (however, multi-sectional) annotation text. Example: <xs:annotation> <xs:documentation xml:lang="en"> This description is in English... </xs:documentation> <xs:documentation xml:lang="de"> Die deutsche Beschreibung... </xs:documentation> </xs:annotation> "de" in this parameter, you will get in the documentation only this text:
"Die deutsche Beschreibung..."
Nested Parameter:
|
|||||||||
desc.xsd.annotation.documentation.lang.alt :
list of strings {separators: ';', newline}
When the “Language” parameter is specified, only the <xs:documentation> elements marked with the specified language code(s) will be process. All others will be ignored. However, you may have a situation that not all annotations in your XML schema are translated into a specific language. When you generate the documentation targeted to that language, it is preferable to have all descriptions written in it. However, when such a localized description is missing, a description written in some basic language (e.g. English) would also suffice. Using this parameter you may specify such an alternative language. The value of this parameter must be specified the same way as of “Language” parameter.
For example, let's suppose that in the “Language”
parameter you have specified |
|||||||||
desc.xsd.annotation.documentation.source : enum {"see_link", "title", "xml_source", "no"}
Specifies how to process the value of Possible Choices:
|
|||||||||
desc.xsd.annotation.show.part.headings : boolean
Specify, whether to generate multipart annotation headings.
A human-written description of an XML schema or schema component is generated from the content of an
<xs:element name="SomeElement"> <xs:annotation> <xs:documentation> element description <xs:documentation> </xs:annotation> ... </xs:element> <xs:annotation> elements are allowed to have multiple <xs:documentation>
children (and <xs:schema> element may have even multiple <xs:annotation> children).
In that case, the result description text will be produced from the content of all <xs:documentation>
element found by the path:
<xs:documentation> elements, each of them will produce a separate part of the entire description text. In that case, each part will have a separate heading, so the whole text will look like the following:
|
|||||||||
HTML Markup |
desc.ehtml
This parameter/group controls the processing (rendering) of the HTML markup embedded in the various decription text
(e.g. within the content of See Also: |
||||||||
desc.ehtml.files
Specify for which XML schema files the HTML markup in annotations should be processed. |
|||||||||
desc.ehtml.files.include :
list of strings {separators: ';', newline}
Specify the list of XML schemas whose annotations may contain XHTML markup. Each XML schema is specified 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 (e.g. newline). When this parameter is assigned (with a non-empty string specifying the schema list), the XHTML tags will be processed in annotations of only those schemas whose file names are found in that list. |
|||||||||
desc.ehtml.files.exclude :
list of strings {separators: ';', newline}
Specify the list of XML schemas whose annotations contain no XHTML markup (or it should ignored). Each XML schema is specified with its file name (the last name in the pathname's name sequence, e.g. "xml.xsd"). Multiple file names should be separated with an allowed item separator (e.g. newline). When this parameter is assigned (with a non-empty string specifying the schema list), the XHTML tags will be processed in annotations of only those schemas whose file names are not found in that list. |
|||||||||
desc.ehtml.tags.xhtml : boolean
Specify whether to process XHTML tags embedded in the annotation text. XHTML tags are considered any XML elements that belong to XHTML namespace, which is associated with the following URI:
Specifically, this particular URI, which is used by the templates to identify the XHTML elements,
is specified in the
When this parameter is xsddoc.xmltype configuration file, where you can change it when you need.
true (checked), any XHTML elements will be converted to normal HTML tags
(that is, the namespace prefix will be removed from each tag's name and everything else rewritten as it was).
That will make the annotation text look as a fragment of normal HTML, which will be further inserted directly
into the documentation output (in case of HTML) or rendered (in case of RTF).
When this parameter is
|
|||||||||
desc.ehtml.tags.xhtml.images : boolean
Controls whether to include images specified with XHTML
If this parameter is
When the parameter is Nested Parameter:
|
|||||||||
desc.ehtml.tags.xhtml.images.copy : boolean
Specifies whether the images embedded in the annotation text must be copied to the documentation destination directory.
If this parameter is
When the parameter is |
|||||||||
desc.ehtml.tags.other : enum {"show", "xhtml", "no"}
Control what to do with any other XML tags that have not been specifically processed as XHTML markup. Possible Choices: "show"
|
|||||||||
desc.ehtml.encode.markup.chars : boolean
Specifies whether to encode HTML markup characters contained in the annotation text. The following table shows all such characters and the entities into which they are encoded:
The encoding will be done only when the output format supports rendering of embedded HTML, and it is switched on (see output format options). The purpose of this parameter is the following:
|
|||||||||
desc.ehtml.flatten : enum {"never", "tbl"}
Specify whether to flatten the HTML markup.
Flattening means removing from the HTML markup
Possible Choices:
"never"
|