Changing ID matching options

ID matching describes how an element node is bound together with the value of its id attribute. Use the Custom Matching options to control how id attributes are used in calculating differences for both compare and merge operations.

ID matching is usually the best setting. Consider disabling ID matching only if your document uses id attributes that are not of type ID. If your document does not contain any id attributes, ID matching has no effect, and you can ignore it. By default, both of the following Custom Matching options are enabled.

Option Description
Use ID attributes to match nodes Matches an element with the same name and the same id attribute value.

When enabled by itself, (without the option below) subtrees are matched only if their id values are the same.

Use ID attributes to match subtrees Matches subtrees with the same name and the same id attribute value.

The id value can be regarded as propagating to all the element's child nodes.

Tip: When you start a compare or merge through the Rational® ClearCase® type manager (for example, using Merge Manager), you do not have direct control over ID matchin; both options are set by default. If you need to change ID matching for such an operation, you can start a Rational ClearCase XML Diff Merge session by using any contributor, change these settings, and exit XML Diff Merge. Your settings are saved in the Windows registry and remain in effect the next time XML Diff Merge is run.

Feedback