DTSXMLDiffAlgorithm Enumeration
Specifies which algorithm to use when comparing XML documents.
Assembly: Microsoft.SqlServer.XMLTask (in Microsoft.SqlServer.XMLTask.dll)
| Member name | Description | |
|---|---|---|
| Auto | Default. Chooses the comparison algorithm for you depending on the size and assumed number of changes in the compared documents. | |
| Fast | Compares the two XML documents by traversing the XML tree and comparing it node-by-node. This algorithm is very fast but may produce less precise results. For example, it may detect both an add and remove operation on a node instead of a move operation. | |
| Precise | Compares files based on an algorithm for finding the editing distance between trees, also known as Zhang-Shasha algorithm. This algorithm gives very precise results but it may be very slow on large XML documents with many changes. |
Show: