XmlDiff Properties
The properties of the XmlDiff class are listed here. For a complete list of XmlDiff class members, see the XmlDiff Members topic.
Public Instance Properties
IgnoreChildOrder | The order of child nodes of each element is ignored when true. When this option is selected, two nodes with the same value that differ only by their position among sibling child nodes are treated as the same nodes. |
IgnoreComments | Comment nodes are not compared when true. |
IgnoreDtd | The XML DTD is not compared when true. |
IgnoreNamespaces | The namespace URIs of the element and attribute names are not compared when true. This option also implies that the prefixes are ignored. When this option is selected, then two names with the same local name, but have a different namespace URI and prefix, are treated as the same names. |
IgnorePI | Processing instructions are not compared when true. |
IgnorePrefixes | The prefixes of element and attribute names are not compared when true. When this option is selected, then two names that have the same local name and namespace URI, but have a different prefix, are treated as the same names. |
IgnoreWhitespace | Significant white spaces are not compared when true, and all text nodes are normalized by discarding any leading and trailing white space characters (#x9, #x10, #x13, #x20), and by replacing sequences of white space characters by a single space (#x20) character. |
IgnoreXmlDecl | The XML declaration is not compared when true. |
Options | Set all the properties of the XmlDiffOptions enumeration. |
Algorithm | Specifies the algorithm that the will be used for comparing the documents. The type is XmlDiffAlgorithm Enumeration. |