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:

<transformerattributes>
  <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

Managing Risk in Legal Documentation

/
Proactively addressing compliance, accuracy, and security risks in legal documentation is essential to protect from costly errors.

Ensuring Accuracy in Legal Documentation

/
Efficient document comparison and merging can drastically improve accuracy, collaboration, and compliance for legal teams.

Introducing HTML Compare

/
HTML Compare is your go-to for tracking, comparing, and managing HTML content changes with ease, offering clear visual highlights and customisable settings.

Introducing Subtree Processing Mode for Greater Flexibility

/
A new feature that lets you control how content is compared by processing sections as either text or data.

Beyond Step-Through XSLT Debugging

Print-debugging in XSLT provides a broader view of code behaviour by capturing variable values at multiple points.

Solving Common Challenges with Inaccurate Document Management

Discover practical strategies to overcome common challenges in regulated industries.

How to avoid non-compliance when updating technical documents in regulated industries

Navigate the challenges of updating technical documents in regulated industries.

Built-in XML Comparison vs Document Management Systems (DMS)

Compare using specialised XML comparison software versus a DMS in regulated industries.

How Move Detection Improves Document Management

Learn how move detection technology improves document management by accurately tracking relocated content.