code: def dtdEntity(self, name):
          
          ret = libxml2mod.xmlGetDtdEntity(self._o, name)
          if ret is None:raise treeError('xmlGetDtdEntity() failed')
          __tmp = xmlEntity(_obj=ret)
          return __tmp
docs: Do an entity lookup in the DTD entity hash table and