code: def removeRef(self, doc):
          
          if doc is None: doc__o = None
          else: doc__o = doc._o
          ret = libxml2mod.xmlRemoveRef(doc__o, self._o)
          return ret
docs: Remove the given attribute from the Ref table maintained
             internally.