fix_id#

astropy.utils.xml.check.fix_id(ID)[source]#

Given an arbitrary string, create one that can be used as an xml id. This is rather simplistic at the moment, since it just replaces non-valid characters with underscores.