No, your requirement is totally unclear. Comparing two text files for differences is not at all easy -- suppose you only move a line to a different part of the file, how should that be reported? And comparing a tree structure adds another level of complexity. If you start writing down pairs of XML documents that differ slightly, trying to make ...