pub unsafe fn validate_id(
ctxt: *mut _xmlValidCtxt,
doc: *mut _xmlDoc,
node: *mut _xmlNode,
value: *const xmlChar,
) -> c_intExpand description
Validate an ID value: check that the value is a valid XML Name and that no duplicate ID values exist in the document.
§UPSTREAM-PARITY
int xmlValidateID(xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr node,
const xmlChar *value);Returns 1 if the ID is valid, 0 otherwise.
§SAFETY
ctxt,doc,node,valuemay be NULL.