Mapfile Map Sample
Summary
This sample compares two DITA map files in1.ditamap
and in2.ditamap
, it does not compare the referenced topics. Because of this, the topic files are not included in the sample. Please read the content of the DITA markup result (results/dita-markup.ditamap
) as it is designed to illustrate several of our DITA comparison product's features.
The sample uses either .NET or Java versions of DITA Compare, according to the version downloaded, samples for both platforms are covered here.
Output Format
The result of this comparison depends on the selected output format, as discussed in the Output Formats Reference. The formats used in this sample are available in the table on the reference page.
Lexical Preservation
The sample scripts (batch-file or ant) also set two parameters, to preserve the lexical formatting of the source document.
preservation-mode=roundTrip
whitespace-processing-mode=ignore
Running the sample
The sample resources and a description on how to run it can be found at: https://bitbucket.org/deltaxml/mapfile-map for Java and here for .NET.
The resources should be checked-out, cloned or downloaded and unzipped into the samples directory of the DITA Compare release. They should be located such that they are two levels below the top level release directory, for example DeltaXML-DITA-Compare-8_0_0_j/samples/mapfile-map
.