pub unsafe fn get_entity(
doc: *mut _xmlDoc,
name: *const xmlChar,
) -> *mut _xmlEntityExpand description
Get a general entity by name.
§UPSTREAM-PARITY
xmlEntityPtr xmlGetEntity(xmlDocPtr doc, const xmlChar *name);Searches the document’s DTD for a general entity with the given name. Checks both internal and external subsets.
§SAFETY
docmust be a valid pointer to an _xmlDoc, or NULL.namemust be a valid null-terminated string.