Configuring XML Compare for Efficient XML Comparison

XML Compare is a powerful tool for comparing and managing changes between XML files. One of its key features is the ability to define custom comparison pipelines, allowing users to tailor the comparison process to their specific needs.

Customising Comparison Pipelines

With XML Compare, you can define comparison pipelines using either the PipelinedComparatorS9 or the DocumentComparator class.

  • Pipelined Comparator: This class provides a highly flexible form of comparison, ideal for scenarios where the input XML is not always document-based or where you require low-level control of the processing pipeline. You can add input and output filters to the processing pipeline at any point, giving you fine-grained control over the comparison process.
  • Document Comparator: Unlike the Pipelined Comparator, the Document Comparator has a pipeline specially optimised for document comparison. This pipeline is modified by adding filters at certain named ‘extension points’.

Defining Pipelines

You can define comparison pipelines using Java code or an XML pipeline descriptor file format called DXP.

  • Using Java: You can define pipelines using Java code, adding filter steps or chains directly to the comparator classes.
  • Using DXP: DXP is an XML-based format for defining comparison pipelines. It allows you to specify input and output filters, comparator features and properties, and much more in a structured XML format.

Pipeline Diagnostics

XML Compare also offers a debug mode for diagnosing issues in your comparison pipelines. In this mode, the inputs and outputs of each filter are output to separate files, making it easier to identify and resolve any issues.

Configuration

XML Compare offers a range of configuration options to fine-tune the comparison process. These options include settings for diagnostics, output format, parser features, and more. To see these configuration options in action, watch the product demo below, which showcases two popular configuration features: word-by-word text comparison and comparing orderless elements.

Book a Discovery Call

By customising comparison pipelines and fine-tuning the configuration settings, users can harness the full power of XML Compare to efficiently compare, merge and manage XML files according to their specific requirements. Whether you’re comparing complex document structures or handling large volumes of XML data, XML Compare provides the flexibility and control you need to get the job done efficiently and accurately. If you want to learn more about how XML Compare can meet your specific needs, book a no-obligation discovery call with our experts today!

Keep Reading

How Move Detection Improves Document Management

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

Streamlining Data Syndication in PIM Systems through JSON Comparison

/
Utilise JSON comparison to reduce errors, labour costs, and system downtime.

Move detection when comparing XML files

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

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.

Tackling Tracked Changes & Overcoming Hurdles in Managing Large Document Revisions

Managing large document revisions is challenging with tracked changes.

Effortlessly Manage Known Differences During Conversion Checks

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

Everything Great About DeltaJSON

Accessible through an intuitive online GUI or REST API, DeltaJSON is the complete package for managing changing JSON data. Learn everything about makes DeltaJSON great.

Mastering Complex Table Comparisons Within Your Technical Documentation

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

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss an update

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