Comparing xml files using regex