Some cleaning
Some more stuff
xmllint - command line XML tool
Thoughts