Skip to main content

new_parser_context

Function new_parser_context 

Source
pub unsafe fn new_parser_context(
    str_: *const xmlChar,
    ctxt: *mut _xmlXPathContext,
) -> *mut XmlXPathParserContext
Expand description

Create a new parser context over str with the given evaluation context.

ยงSAFETY

  • str must be a valid NUL-terminated string or NULL.
  • ctxt must be a valid _xmlXPathContext or NULL.