Skip to main content

xmlXPathNewContext

Function xmlXPathNewContext 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlXPathNewContext( doc: *mut _xmlDoc, ) -> *mut _xmlXPathContext
Expand description

Create a new XPath context.

Allocates a _xmlXPathContext and an internal XPathContext, storing the latter’s pointer in the extra field.

§UPSTREAM-PARITY

xmlXPathContextPtr xmlXPathNewContext(xmlDocPtr doc);