pub unsafe fn remove_ref(doc: *mut _xmlDoc, attr: *mut _xmlAttr) -> c_intExpand description
Upstream xmlRemoveRef(doc, attr) — removes the attribute’s IDREF
entry. Returns 0 on success, -1 otherwise.
§SAFETY
doc/attrmust be valid pointers or NULL.