pub unsafe fn new_dtd(
doc: *mut _xmlDoc,
name: *const xmlChar,
ExternalID: *const xmlChar,
SystemID: *const xmlChar,
) -> *mut _xmlDtdExpand description
Create a new DTD node.
§UPSTREAM-PARITY
xmlDtdPtr xmlNewDtd(xmlDocPtr doc, const xmlChar *name,
const xmlChar *ExternalID, const xmlChar *SystemID);Creates a new DTD and attaches it to the document.
§SAFETY
docmust be a valid pointer to an _xmlDoc.namemust be a valid null-terminated string or NULL.ExternalID,SystemIDmay be NULL.