Very helpful, did a better job than tidy! (Needs retina support)
I was having some problems geting some xml going in php with explode. I set up tidy on the server to see if that would help but it only resulted in xml being formatted differently and php was still dying on explode. Enter Nanny. I found the offending xml and threw it at Nanny and it told me exactly what was wrong. Now I know what needs to be stripped and can do so before explode.
My only request: Retina support.
Extravascular about XML Nanny