Skip to main content

remove_id

Function remove_id 

Source
pub unsafe fn remove_id(doc: *mut _xmlDoc, attr: *mut _xmlAttr) -> c_int
Expand description

Upstream xmlRemoveID(doc, attr) — removes the attribute’s ID entry. Returns 0 on success, -1 otherwise.

§SAFETY

  • doc/attr must be valid pointers or NULL.