/* Returns -1 if the lookup failed and 0 otherwise  */
int xmlRemoveID(xmlDocPtr doc, xmlAttrPtr attr)
/* Returns -1 if the lookup failed and 0 otherwise  */
int xmlRemoveID(xmlDocPtr doc, xmlAttrPtr attr)
{
        xmlFree(ID);
        return(-1);
    }
    xmlHashRemoveEntry(table, ID, (xmlHashDeallocator) xmlFreeID);
    xmlFree(ID);
    attr->atype = 0;
    return(0);
}