#6879
dreftymac
Participant

You can do this with HTMLTidy. It has a clean-up mode that works specifically for xml. To attach HTMLTidy into emeditor, just run it like a regular scripting tool against the file you are currently editing.