/* The entity name can also be a numeric constant. -1 is returned if the name is not known.  */
int mxmlEntityGetValue(const char *name)
/* The entity name can also be a numeric constant. -1 is returned if the name is not known.  */
int mxmlEntityGetValue(const char *name)
{
  int		i;
  int		ch;
  _mxml_global_t *global = _mxml_global();
  for (i = 0; i < global->num_entity_cbs; i ++)
    if ((ch = (global->entity_cbs[i])(name)) >= 0)
      return (ch);
  return (-1);
}