add XML validation to xml cleanup script, as well as documentation to modify tags and attributes