def safe_name(name):
    'Make name safe for use in XML output.'
    return XML_SAFE_TAGS.get(name, name)
Make name safe for use in XML output.
def safe_name(name):
    
    return XML_SAFE_TAGS.get(name, name)