matching-rule
Specifies the criteria for finding a matching entry in the destination.
The DirXML engine uses the following algorithm to determine if the add operation can use a particular matching rule.
If a rule cannot be used, it is skipped, and the DirXML engine moves to the next rule.
Once a suitable rule is found, the DirXML engine queries the destination for entries that have the attributes specified by the <match-attr> elements in the matching rule and by the <add-attr> elements in the add operation. If the rule contains a <match-path> element, the DirXML engine uses that value to set the dest-dn attribute in the <query> element (this attribute specifies the starting point for the search).
The destination returns <instance> elements for each entry that matches.
<!ELEMENT matching-rule (match-class*, match-path?, match-attr*)> <!ATTLIST matching-rule description CDATA #IMPLIED>