pub unsafe fn get_id(doc: *mut _xmlDoc, id: *const xmlChar) -> *mut _xmlAttrExpand description
Upstream xmlGetID(doc, ID): returns the attribute holding the ID, or
the document pointer itself when operating on a stream (attribute node no
longer exists).
§SAFETY
doc/IDmust be valid pointers or NULL.