Diff and Patch XML files