Clean generated XML.