This is actually the main traversal that looks for diffs, not just diffing the attributes (though that's kind of subtle... the addition toe matches for currentTagID below is what the generated diff is based on).