fix_id

astropy.io.votable.xmlutil.fix_id(ID, config=None, pos=None)[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.