The Wayback Machine - https://web.archive.org/web/20080720024934/http://www.alphaworks.ibm.com/tech/xmldiffmerge/faq
IBM®
Skip to main content
    United States change      Terms of use
 
 
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  XML  >  

XML Diff and Merge Tool

A Java program that can compare or reconcile changes in an XML document.


Date Posted: January 15, 1999
Overview Requirements DownloadFAQsForum Reviews



1. What is different from other file comparison tools, such as windiff?

XML Diff and Merge Tool works on the DOM tree, so the result is not a line-based comparison but a merged tree view of the two files with differences tagged relative to the base XML file. The tool compares two XML files, called base and modified files, and, optionally, produces a third XML file, which is the merged file. Differences are shown with an X icon in front, and the goal is to resolve all the changes. The modified/new/removed nodes have pop-up actions that let the user select whether the change should come from the base file or from the modified file. The reconciling action applies recursively to the entire subtree rooted at the node tagged as a difference.
Back to top Back to top

2. When invoking help from the menu or pressing F1, I get an error. What should I do?

By default, the browser is Netscape, and if the browser is running, you don't need to do anything; otherwise select File, Preferences, Help and enter the full path to your browser.
Back to top Back to top

3. What is the comparison algorithm?

Currently, we do a tree-matching using a node identification based on attributes of type ID or based on content. We also want to make the identity function customizable, but the current version does not have such support.
Back to top Back to top

4. What has been updated?

There are bug fixes and a more customizable comparison function. Element comparison works better when sibling nodes have different position under their parent. Also, one can specify which attributes to look at when determining matching nodes.
Back to top Back to top
Download now Download now

Related technologies

For platform(s):
AIX, Windows NT, Linux, Windows 2000, Win XP, All Java 2 Platforms

For topics:
document comparison


Related resources

Press Articles

 

    About IBM Privacy Contact