import redef trimXMLComments(fieldstr):fieldstr= re.sub(r'<\!\-\-.*?\-\->',"", fieldstr)return fieldstr