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. |