Ram all midnam files through xmllint --format and get something halfway respectable...