Compare Files with the Compare and Merge Tool for XML

You can compare XML files at the element level (a level higher than the file level), based on node identification. Follow these steps:

  1. Launch the Compare and Merge Tool for XML: use the command xmldiff from a command line.
  2. Use the menu to import the files to be compared into the tool: from the File Menu, choose Open. The Select Base XML File dialog box opens. Type the name of the base (control) file against which to base your comparison. The tool parses the file.
  3. The Select Modified XML File dialog box opens. Type the name of the modified file that you want to compare with the base file. The tool parses the file, and displays a preliminary, combined view of the two files in the Merged View pane. Symbols and color highlight the differences between the two files.


The Compare and Merge Tool for XML


Merge Files with the Compare and Merge Tool for XML

Copyright 1997, 1998 IBM Corporation, All rights reserved