Skip to main content

add_notation_decl

Function add_notation_decl 

Source
pub unsafe fn add_notation_decl(
    dtd: *mut _xmlDtd,
    name: *const xmlChar,
    PublicID: *const xmlChar,
    SystemID: *const xmlChar,
) -> *mut _xmlNotation
Expand description

Add a notation declaration to a DTD.

§UPSTREAM-PARITY

xmlNotationPtr xmlAddNotationDecl(xmlDtdPtr dtd, const xmlChar *name,
                                  const xmlChar *PublicID,
                                  const xmlChar *SystemID);

§SAFETY

  • dtd must be a valid pointer to an _xmlDtd, or NULL.
  • name must be a valid null-terminated string.
  • PublicID, SystemID may be NULL.