pub unsafe fn add_ref(
ctxt: *mut _xmlValidCtxt,
doc: *mut _xmlDoc,
value: *const xmlChar,
attr: *mut _xmlAttr,
) -> *mut _xmlRefExpand description
Upstream xmlAddRef(ctxt, doc, value, attr) โ registers an IDREF.
Returns the xmlRef or NULL.
ยงSAFETY
ctxtmay be NULL;doc/attr/valuemust be valid pointers.