DXP In Depth – Pointers into the Documentation

DXP files are very well documented in XML Compare with many examples. The documentation page Specifying a Comparison Pipeline gives examples for DXP (and also for Java and C#) for all of the features, properties and attributes that can be added to the comparison pipeline.  For example, if you wish to change the version of XSLT that is used in the transformer then the following needs to be added to the DXP file:

  <stringattribute name="http: saxon.sf.net="" feature="" xsltversion" literalvalue="3.0">
</stringattribute name="http:></transformerattributes>

The DXP User Guide provides:

  • the technical background to pipelining
  • a full explanation of the purpose
  • details on all features with extracts from the DTD
  • the differences between using a file and using the PipelinedComparator Java class
  • the version history of the DXP definition in DTD

This diagram of an example pipeline provides a good introduction to the concepts described in the DXP User Guide.

DXP Uses Document Type Definition

The DXP file is defined by DTD files.  A DTD defines the structure and the allowed elements and attributes of an XML document. If you are unfamiliar with this system, there is an introduction to DTDs at w3schools.  Much of this seems quite obvious but there are a couple areas that are non-intuitive:

  • the attribute value can be #IMPLIED, this means that the attribute is optional
  • the symbol + means one or more
  • the symbol ? means zero or one
  • the symbol * means zero or more

Using the DTD enables XML editors like oXygen to assist with writing the DXP file with features like auto- complete

A Beginner’s Guide to XML Comparison

Pipelines and the Differences Between DXP and DCP

For more information about DCP and the Document Comparator see here.

The location of DXP/DCP files on a computer

Links to useful documentation

Keep Reading

Move detection when comparing XML files

DeltaXML introduces an enhanced move detection feature that provides a clearer insight of how your content has changed.

Configuring XML Compare for Efficient XML Comparison

Define pipelines and fine-tune the comparison process with various configuration options for output format, parser features, and more.

A Beginner’s Guide to Comparing XML Files

With XML Compare, you receive more than just a basic comparison tool. Get started with the most intelligent XML Comparison software.

Introducing Character By Character Comparison

Find even the smallest differences in your documents with speed and precision with character by character comparison.

Effortlessly Manage Known Differences During Conversion Checks

Focus on unknown differences with DeltaXML's new ignore change feature for ConversionQA.

Mastering Complex Table Comparisons Within Your Technical Documentation

Our software excels at presenting changes in complex tables and technical content.

Enhanced Redline Output with Self-Hosted DITA Comparison via Integrated REST API

DITA Compare's powerful redline output and REST API integration is trusted globally.

Navigating XML Change in Aviation

Discover how the aviation industry can effectively manage XML changes to ensure compliance and safety while enhancing operational excellence.

Never miss an update

Sign up to our newsletter and never miss an update on upcoming features or new products