XML Comparison Tool (Case)
The XML Comparison Tool is used to compare the structural and data differences between selected scenarios (cases) and/or files. Case-to-Case, Case-to-File, File-to-Case and File-to-File comparisons can be made depending on the Original and New comparison modes you select.
To run an XML comparison against selected scenarios (cases):
-
In the Project Explorer, right-click on a scenario and select Utilities | XML Comparison Tool.
-
Set Original and New comparison options in the Case Xml Diff Options dialog:

Original
Mode
Select a comparison mode for the original scenarios or file you want to base a comparison on. When you run the comparison tool on a scenario, the mode defaults to Scenarios.
Mode | Description |
---|---|
Scenarios | Run the comparison on a selected scenario or scenarios. Click the drop-down control to select additional Scenarios or change the scenario selection. |
File | Run the comparison on an XML file. Click on the ellipsis button to select the File Name. |
New
Mode
Select a comparison mode for the new tables or file you want to compare against the original tables or file.
Mode | Description |
---|---|
Scenarios | Run the comparison on a selected scenario or scenarios. Click the drop-down control to select additional Scenarios or change the scenario selection. |
File | Run the comparison on an XML file. Click on the ellipsis button to select the File Name. |
Rename Mappings
An XML mapping transforms object data members to the XML elements of an XML file ...?
The Replace Mappings grid allows you to lookup values in the original XML and replace with other values in the new XML.
Add
To create a mapping:
-
Click the Add icon to the right of the Mapping grid.
Rename the new mapping to something meaningful by clicking New_Mapping1 to select it.
-
Set the following parameters:
Element
The name of the parent element.
Attribute
An attribute of the parent element.
Matching Value
The value to match between the two XMLs.
Replacement Value
The replacement value to write to the new XML.
In the Case XML Comparison Window,
To run an XML comparison against a table, see: XML Comparison Tool (Table)