def keyToXMLID(key):
    if not key:
        #print 'keyToXMLID: no key, but why?'
        return '***Error: Unset***'
    return '-'.join(key.split('.'))
Convert a key into an XML-styleinevow.ID
dataset/ETHPy150Open twisted/nevow/formless/formutils.py/keyToXMLID