Skip to main content

xmlXPtrEval

Function xmlXPtrEval 

Source
pub unsafe extern "C" fn xmlXPtrEval(
    expr: *const c_char,
    doc: *mut _xmlDoc,
) -> *mut _xmlNode
Expand description

C ABI entry point for XPointer evaluation.

Corresponds to xmlXPtrEval in libxml2.

ยงSafety

  • expr must be a valid null-terminated C string.
  • doc must be a valid pointer to _xmlDoc or NULL.

Returns a pointer to the selected _xmlNode, or NULL if the pointer does not resolve.