X-Diff: an effective change detection algorithm for XML documents
Simple fast algorithms for the editing distance between trees and related problems