XML TreeDiff
XML TreeDiff is a set of Java beans that enable efficient differentiation and updating of DOM trees, similar to diff and patch differentiation and update data files. However, rather than differentiating the file representations of the documents (that is, the XML files), XML TreeDiff runs directly on the DOMs themselves. This way, the differences are directly expressed in terms of native tree operations such as change node, delete node, or insert node, rather than line mismatches.
The advantages of this approach are several: It avoids the need to convert the DOM trees to file format prior to comparing them; it eliminates the "false negative" reports caused by dissimilar file representations of equivalent DOM structures; and it avoids the need to infer the tree structural meaning of a line difference report.
come from www.ibm.com
XML TreeDiff is a set of Java beans that enable efficient differentiation and updating of DOM trees, similar to diff and patch differentiation and update data files. However, rather than differentiating the file representations of the documents (that is, the XML files), XML TreeDiff runs directly on the DOMs themselves. This way, the differences are directly expressed in terms of native tree operations such as change node, delete node, or insert node, rather than line mismatches.
The advantages of this approach are several: It avoids the need to convert the DOM trees to file format prior to comparing them; it eliminates the "false negative" reports caused by dissimilar file representations of equivalent DOM structures; and it avoids the need to infer the tree structural meaning of a line difference report.
come from www.ibm.com