Skip to main content

get_ns_prop

Function get_ns_prop 

Source
pub unsafe fn get_ns_prop(
    node: *mut _xmlNode,
    name: *const xmlChar,
    _name_space: *const xmlChar,
) -> *mut xmlChar
Expand description

Get a namespaced attribute value.

§UPSTREAM-PARITY

xmlChar *xmlGetNsProp(xmlNodePtr node, const xmlChar *name, const xmlChar *nameSpace);

Returns the attribute value, or NULL if not found.

§SAFETY

  • node must be a valid pointer to an _xmlNode, or NULL.
  • name must be a valid null-terminated string.
  • nameSpace may be NULL.