XML Compare Evaluation FAQs

Most Frequently Asked Questions

  • How do I run a comparison?
  • How does the style of content in my XML affect the approach I need to take?
  • What do I need to think about if I’m comparing large files?
  • What does a comparison result look like and what can I do with it?
  • How do I retain the layout and appearance of my original input documents?
  • How do I produce a customised comparison application for my data?
  • How do I make use of XML Compare within my larger application infrastructure?
  • Answers

    How do I run a comparison?

    The principal way of running a comparison is by invoking the API using appropriate method calls. The API is documented at https://docs.deltaxml.com/core/current/docs/api/index.html (Java) and https://docs.deltaxml.com/core/currentn/docs/api/index.html (.NET).
    To get started quickly during an evaluation, you can use the command-line interface (CLI) or the GUI (Java/UNIX/Windows and Mac distributions only) to run our built-in sample pipelines or your own.

    How does the style of content in my XML affect the approach I need to take?

    You should take different approaches for comparing data encoded in XML as opposed to XML documents, that may contain paragraph-based text. For documents, take a look at the DocumentComparator and DCP (its configuration language). Data comparison is best performed using the PipelinedComparatorS9 and DXP.

  • Main Samples Page – https://www.deltaxml.com/products/core/docs/samples
  • DocumentComparator – https://www.deltaxml.com/products/core/docs/document-comparator-guide
  • DCP – https://www.deltaxml.com/products/core/docs/guide-to-dcp
  • PipelinedComparator and DXP – https://www.deltaxml.com/products/core/docs/guide-to-dxp
  • What do I need to think about if I’m comparing large files?

    The definition of ‘large’ XML files differs depending on what content it contains. We have successfully compared XML data files as large as 5GB so it’s likely that your XML files are not too large for comparison to work. You may need to take some extra steps to ensure that you get the best performance possible. See our guide to help you out: https://www.deltaxml.com/products/core/docs/large-files

    What does a comparison result look like and what can I do with it?

    Our result file describes change in a custom format we call our delta format. Watch our explanation video to understand the representation: http://www.screencast.com/users/deltaxml/folders/Default/media/8c6bed01-7a3a-49a3-9785-1d715b6f4144
    There is further documentation on the format at https://www.deltaxml.com/support/documents/deltav2

    How do I retain the layout and appearance of my original input documents?

    XML is made up of more than just elements, attributes, and text. So how do you ensure that XML Compare handles comments, processing-instructions, indentation, entities, and XML declarations correctly? We call the process ‘Lexical Preservation’ and you can read more about it at: https://www.deltaxml.com/products/core/docs/lexical-preservation-intro

    How do I produce a customised comparison application for my data?

    We include several sample comparison configurations in the release and you are free to use these as the basis for your own customisations. You’ll probably want to write your own custom XSLT to process your data and generate a result exactly as you want it. This XSLT is gathered together into a pipeline using our configuration languages DXP, or DCP or you can specify the configuration in code using our APIs. Read more about the different methods at: https://www.deltaxml.com/products/core/docs/pipeline-definition

    How do I make use of XML Compare within my larger application infrastructure?

    Please refer to the following links which will help application developers who need access to DeltaXML functions and especially via our API.

    DeltaXML Pipeline Help: https://www.deltaxml.com/products/core/docs/guide-to-dxp
    DeltaXML API Documentation: https://docs.deltaxml.com/core/current/docs/api/index.html