Skip to main content

xmlXPathSetContextNode

Function xmlXPathSetContextNode 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlXPathSetContextNode( node: *mut _xmlNode, ctx: *mut _xmlXPathContext, ) -> c_int
Expand description

int xmlXPathSetContextNode(xmlNodePtr node, xmlXPathContextPtr ctx) โ€” sets the context node; fails when the node belongs to a different document.

ยงSAFETY

  • node / ctx must be valid or NULL.