Skip to main content

validate_notation_use

Function validate_notation_use 

Source
pub unsafe fn validate_notation_use(
    ctxt: *mut _xmlValidCtxt,
    doc: *mut _xmlDoc,
    notation_name: *const xmlChar,
) -> c_int
Expand description

Validate that notationName is a declared notation in the document’s DTD.

§UPSTREAM-PARITY

int xmlValidateNotationUse(xmlValidCtxtPtr ctxt,
                           xmlDocPtr doc,
                           const xmlChar *notationName);

Returns 1 if the notation is declared, 0 otherwise.

§SAFETY

  • ctxt, doc, notationName may be NULL.