fix_id

astropy.io.votable.xmlutil.fix_id(ID, config={}, pos=None)[source] [edit on github]

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.

Page Contents