def writeCleanXML(self, xmlFile, xmlData, indent='', addindent='\t', newl='\n', encoding = 'utf-8'):
        file = open(xmlFile, "w" ) #@ReservedAssignment
        xmlData.writexml(file, indent, addindent, newl, encoding)
        file.close()
        self.removeEmptyLines(xmlFile)
Method to update the wear set xml file
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/common/fileIO/fileManip.py/FileManip.writeCleanXML