/* Returns NULL if not found, otherwise the xmlAttrPtr defining the ID  */
xmlAttrPtr xmlGetID(xmlDocPtr doc, const xmlChar *ID)
/* Returns NULL if not found, otherwise the xmlAttrPtr defining the ID  */
xmlAttrPtr xmlGetID(xmlDocPtr doc, const xmlChar *ID)
{
	return(NULL);
    }
    if (ID == NULL) {
	return(NULL);
    }
    table = (xmlIDTablePtr) doc->ids;
    if (table == NULL)
        return(NULL);
    id = xmlHashLookup(table, ID);
    if (id == NULL)
	return(NULL);
    if (id->attr == NULL) {
	return((xmlAttrPtr) doc);
    }
    return(id->attr);
}