The Altova DiffDog Action allows you to automate XML file comparisons using Altova DiffDog as part of your project.
For more information on Altova DiffDog, see here: http://www.altova.com/products/diffdog/diff_merge_tool.html