Skip to main content

XmlTaskDiffAlgorithm Enumeration

XmlTaskDiffAlgorithm Enumeration

The XmlTaskDiffAlgorithm enumeration provides a list of options for which Xml document differencing algorithm should be used by the Xml Task.

Enumeration Values

NameSummary
Auto
Specifies that the comparison algorithm will be automatically chosen by the XML Task based on document size and other factors.
Fast
Specifies that the documents will be compared quickly with a direct comparison of nodes in a depth first search of the tree. This may resolve in less descriptive differences such as a move operation being represented as an add operation and a remove operation.
Precise
Specifies that the documents will be compared using a Zhang-Shasha tree node edit distance algorithm. This results in more descriptive difference calculation but can run slowly on large XML documents.