Configuration File Schema Guide
This guide provides a short description of each element and attribute defined in the XML schema for the DocBook Compare configuration file. A fuller description of the configuration file, along with the examples and an explanation of the main concepts can be found in the User Guide and associated documentation.
An occurrence indicator is used here for cases other than where a child element may occur once and only once. The occurrent indicators are descibed below:
- [*] - Zero or more
- [?] - Zero or once
- [+] - One or more
Element Index
addInlineFormattingElements 27
common 17
detectMoves 37
framemakerTcsTableChangeMode 48
grouping 44
imageCompare 31
indentOutput 45
keyingMode 38
mathml 13
Element Detail
Elements are listed in document-tree order, top-level elements first, then alphabetically:
Element: configuration 1
The root element for defining the configuration for DocBook Compare REST.
Contained by
/
Contains
Element | Description | |
---|---|---|
additionalPhraseContainers | Sets the comma and/or space separated list of additional phrase elements using Clark notation | |
parameters | The root element for defining the configuration parameters for the comparison | |
showNonPhraseChanges | Sets whether to textually mark changes to text where phrase elements are not allowed |
Element: additionalPhraseContainers 2
Sets the comma and/or space separated list of additional phrase elements using Clark notation.
Contained by
Contains
Type: xs:string
Element: parameters 3
The root element for defining the configuration parameters for the comparison.
Contained by
Contains
Element | Description | |
---|---|---|
advancedParameters | The advanced settings parameters provide a finer level of control over the comparison, the output, and error reporting | |
comparisonParameters | These parameters control how the comparison is performed | |
outputParameters | These parameters enable the form of the output to be configured |
Element: showNonPhraseChanges 4
Sets whether to textually mark changes to text where phrase elements are not allowed.
Contained by
Contains
Type: xs:boolean
Element: advancedParameters 5
The advanced settings parameters provide a finer level of control over the comparison, the output, and error reporting.
Contained by
Contains
Element | Description | |
---|---|---|
advancedBehaviour | Parameters used to override or force specific behaviours | |
selectingUnrepresentableChange | These parameters are used to specify how unrepresentable change can be handled | |
validation | Input validation and reporting |
Element: comparisonParameters 6
These parameters control how the comparison is performed.
Contained by
Contains
Element | Description | |
---|---|---|
formattingElements | These parameters control which DITA elements are marked as inline structural changes | |
imageComparison | Parameters managing image comparison | |
mathml | Parameters managing MathML | |
otherComparisonParameters | Settings that do not fit into other categories | |
tableComparison | These parameters control how tables are compared | |
textComparison | These parameters control how text is compared and whitespace handled |
Element: outputParameters 7
These parameters enable the form of the output to be configured.
Contained by
Contains
Element | Description | |
---|---|---|
common | The output parameters that are either used to specify a specific output type or apply to all output types | |
trackedChanges | The tracked changes output format specific parameters provide a way of configuring tracked change output and editor/format specific output |
Element: advancedBehaviour 8
Parameters used to override or force specific behaviours.
Contained by
Contains
Element | Description | |
---|---|---|
enableXinclude | If set to true the parser will process XIncludes while parsing the inputs | |
outputEncodingDeclaration | Sets the character encoding output to use in the XML declaration | |
standaloneDeclaration | This parameter no longer has any effect | |
xmlVersionDeclaration | Sets the version to use in the XML declaration |
Element: selectingUnrepresentableChange 9
These parameters are used to specify how unrepresentable change can be handled.
Contained by
Contains
Element | Description | |
---|---|---|
modifiedAttributeMode | how modified attributes should be included in the output | |
unmarkedChangeMode | how to handle data that cannot contain difference markup |
Element: validation 10
Input validation and reporting.
Contained by
Contains
Element | Description | |
---|---|---|
validateInputs | Specifies whether to validate input documents | |
warningReportMode | Sets the mode to use for reporting recoverable errors and warnings |
Element: formattingElements 11
These parameters control which DITA elements are marked as inline structural changes.
Contained by
Contains
Element | Description | |
---|---|---|
addInlineFormattingElements | A comma and/or space separated list of inline formatting elements, which will be added to the value of the inline-formatting-elements parameter | |
ignoreInlineFormatting | If set to true, any changes that consist only of the addition, deletion or modification of DITA inline markup elements are not noted as changes | |
inlineFormattingElements | Sets the comma and/or space separated list of inline formatting elements | |
removeInlineFormattingElements | A comma and/or space separated list of inline formatting elements, which will be removed from the value of the inline-formatting-elements parameter |
Element: imageComparison 12
Parameters managing image comparison.
Contained by
Contains
Element | Description | |
---|---|---|
imageCompare | Specifies whether to compare images | |
outputImageRefFavourSourceDoc | If image-compare is set to true, this parameter controls which imagedata fileref attribute, from A or B is use to derive the result fileref value when the image has not changed | |
outputImageRefForm | If image-compare is set to true, this parameter controls the form output for fileref attributes of imagedata elements | |
showImageChangesAtMediaobjectLevel | If image-compare is set to true and determines that images have changed, show the changes as changes to the containing mediaobjects |
Element: mathml 13
Parameters managing MathML
Contained by
Contains
Element | Description | |
---|---|---|
mathmlGranularity | Specifies the granularity at which the differences between the two MathML expressions will be represented | |
mathmlProcessing | Specifies whether to apply MathML processing |
Element: otherComparisonParameters 14
Settings that do not fit into other categories.
Contained by
Contains
Element | Description | |
---|---|---|
detectMoves | Sets to detect and handle element moves | |
keyingMode | Sets the mode to use for adding keys to the input documents |
Element: tableComparison 15
These parameters control how tables are compared.
Contained by
Contains
Element | Description | |
---|---|---|
calsTableProcessing | Specifies whether to apply CALS table processing | |
htmlTableProcessing | Specifies whether to apply HTML table/DITA simpletable processing | |
invalidTableBehaviour | This parameter declares what type of processing should be used for those tables that are marked as invalid |
Element: textComparison 16
These parameters control how text is compared and whitespace handled.
Contained by
Contains
Element | Description | |
---|---|---|
whitespaceProcessingMode | Specifies how to handle whitespace changes | |
wordByWord | Specifies whether to perform detailed text comparison or not |
Element: common 17
The output parameters that are either used to specify a specific output type or apply to all output types.
Contained by
Contains
Element | Description | |
---|---|---|
grouping | Specifies whether adjacent changes (insertions or deletions) should be grouped into a single insertion and/or deletion block | |
indentOutput | Sets whether the result should be indented | |
outputFormat | Specifies what type of output is produced | |
preservationMode | Sets the mode to use for preserving original data |
Element: trackedChanges 18
The tracked changes output format specific parameters provide a way of configuring tracked change output and editor/format specific output.
Contained by
Contains
Element | Description | |
---|---|---|
framemakerTcsTableChangeMode | Specifies how changes in tables should be tracked | |
oxygenTcsDeletedSpaceMode | Specifies how deleted spaces should be handled | |
oxygenTcsVersion | Specifies the version of Oxygen editor used to display, accept and reject the tracked changes | |
trackedChangesAuthor | Specifies the author name that is embedded into the generated insertion and deletion processing instruction | |
trackedChangesDate | Specifies the time-stamp that is embedded into the generated insertion and deletion processing instruction | |
xmetalTcsTableChangeMode | Specifies how changes in tables should be tracked |
Element: enableXinclude 19
If set to true the parser will process XIncludes while parsing the inputs.
Contained by
Contains
Type: xs:boolean
Element: outputEncodingDeclaration 20
Sets the character encoding output to use in the XML declaration.
Contained by
Contains
Type: xs:string
Element: standaloneDeclaration 21
This parameter no longer has any effect.
Preserving the standalone declaration is not supported, due to incompatibilities in the underpinning parsing and serialisation technologies.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: xmlVersionDeclaration 22
Sets the version to use in the XML declaration.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: modifiedAttributeMode 23
how modified attributes should be included in the output.
Contained by
Contains
Type: xs:string
Element: unmarkedChangeMode 24
how to handle data that cannot contain difference markup.
Contained by
Contains
Type: xs:string
Element: validateInputs 25
Specifies whether to validate input documents.
Contained by
Contains
Type: xs:boolean
Element: warningReportMode 26
Sets the mode to use for reporting recoverable errors and warnings.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: addInlineFormattingElements 27
A comma and/or space separated list of inline formatting elements, which will be added to the value of the inline-formatting-elements parameter.
Contained by
Contains
Type: xs:string
Element: ignoreInlineFormatting 28
If set to true, any changes that consist only of the addition, deletion or modification of DITA inline markup elements are not noted as changes.
Contained by
Contains
Type: xs:boolean
Element: inlineFormattingElements 29
Sets the comma and/or space separated list of inline formatting elements.
Contained by
Contains
Type: xs:string
Element: removeInlineFormattingElements 30
A comma and/or space separated list of inline formatting elements, which will be removed from the value of the inline-formatting-elements parameter.
Contained by
Contains
Type: xs:string
Element: imageCompare 31
Specifies whether to compare images.
Contained by
Contains
Type: xs:boolean
Element: outputImageRefFavourSourceDoc 32
If image-compare is set to true, this parameter controls which imagedata fileref attribute, from A or B is use to derive the result fileref value when the image has not changed
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: outputImageRefForm 33
If image-compare is set to true, this parameter controls the form output for fileref attributes of imagedata elements
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: showImageChangesAtMediaobjectLevel 34
If image-compare is set to true and determines that images have changed, show the changes as changes to the containing mediaobjects.
Contained by
Contains
Type: xs:boolean
Element: mathmlGranularity 35
Specifies the granularity at which the differences between the two MathML expressions will be represented.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: mathmlProcessing 36
Specifies whether to apply MathML processing.
Contained by
Contains
Type: xs:boolean
Element: detectMoves 37
Sets to detect and handle element moves.
Contained by
Contains
Type: xs:boolean
Element: keyingMode 38
Sets the mode to use for adding keys to the input documents.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: calsTableProcessing 39
Specifies whether to apply CALS table processing.
Contained by
Contains
Type: xs:boolean
Element: htmlTableProcessing 40
Specifies whether to apply HTML table/DITA simpletable processing.
Contained by
Contains
Type: xs:boolean
Element: invalidTableBehaviour 41
This parameter declares what type of processing should be used for those tables that are marked as invalid.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: whitespaceProcessingMode 42
Specifies how to handle whitespace changes.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: wordByWord 43
Specifies whether to perform detailed text comparison or not.
Contained by
Contains
Type: xs:boolean
Element: grouping 44
Specifies whether adjacent changes (insertions or deletions) should be grouped into a single insertion and/or deletion block.
Contained by
Contains
Type: xs:boolean
Element: indentOutput 45
Sets whether the result should be indented.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: outputFormat 46
Specifies what type of output is produced.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: preservationMode 47
Sets the mode to use for preserving original data.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: framemakerTcsTableChangeMode 48
Specifies how changes in tables should be tracked.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: oxygenTcsDeletedSpaceMode 49
Specifies how deleted spaces should be handled.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
Element: oxygenTcsVersion 50
Specifies the version of Oxygen editor used to display, accept and reject the tracked changes.
Contained by
Contains
Type: xs:float
Element: trackedChangesAuthor 51
Specifies the author name that is embedded into the generated insertion and deletion processing instruction.
Contained by
Contains
Type: xs:string
Element: trackedChangesDate 52
Specifies the time-stamp that is embedded into the generated insertion and deletion processing instruction.
Contained by
Contains
Type: xs:string
Element: xmetalTcsTableChangeMode 53
Specifies how changes in tables should be tracked.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
mode | [enum] |
Permitted values / descriptions:
|
(This documentation was auto-generated from the XML Schema for the DocBook Compare configuration file.)