pub unsafe fn validate_id_ref(
ctxt: *mut _xmlValidCtxt,
doc: *mut _xmlDoc,
node: *mut _xmlNode,
value: *const xmlChar,
) -> c_intExpand description
Validate an IDREF value: check that the referenced ID exists in the document.
§UPSTREAM-PARITY
int xmlValidateIDRef(xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr node,
const xmlChar *value);Returns 1 if the IDREF is valid (references a known ID), 0 otherwise.
§SAFETY
ctxt,doc,node,valuemay be NULL.