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.