System Requirements
Java Version
Java 1.5 or better
.NET Version
.NET Framework version 3.5 or better.
'Compare XML...' Specification
The functionality of this API is similar to the DeltaXML oXygen Plugin when
the 'XML Compare...' item is selected from the
DeltaXML menu. This API provides the ability to compare arbitrary XML documents
and return the differences in oXygen's track changes format, i.e. processing
instructions that oXygen's Author mode understands and displays.
Any two well-formed XML documents may be compared, provided they have the same root node element types. You must use Author mode to view the result of the comparison. The result may be saved to a file or written to a new editor window. Note that any existing tracked changes will be ignored (i.e. removed before the comparison), which has the affect of comparing the documents as if all their changes had been approved.
Changes to attributes are not shown. The default behaviour is for attribute value conflicts to be resolved by taking the values from the second document. This behaviour can be configured to select conflicting attributes from the first document, via the setting of a configuration parameter.
Options available for user configuration include the following:
- The name of the author
- The date of the change - in oXygen's tracked change date format - defaults to time of comparison.
- Option to validate the input documents
- Option to control how default attributes, entities and other XML document characteristics are handled (for expert users)
- Option to normalize whitespace when the documents are read in - but note this may remove layout when viewed in Text mode
- Option to report whitespace differences
- Option to compare on a word-by-word basis, or treat text in blocks
- Option to turn off special table processing for CALS tables
- Option to turn off special table processing for both (X)HTML tables and DITA simpletables
- Option to group changed words into blocks of changes
- Option to indent output
- Option to change the characters that are considered to be punctuation
- Options to control the various XML declarations at the top of the document (for expert users)
