pub unsafe fn search_ns(
doc: *mut _xmlDoc,
node: *mut _xmlNode,
name_space: *const xmlChar,
) -> *mut _xmlNsExpand description
Search for a namespace by prefix.
§UPSTREAM-PARITY
xmlNsPtr xmlSearchNs(xmlDocPtr doc, xmlNodePtr node, const xmlChar *nameSpace);Searches for a namespace declaration with the given prefix.
If nameSpace is NULL, searches for the default namespace.
§SAFETY
docmust be a valid pointer to an _xmlDoc, or NULL.nodemust be a valid pointer to an _xmlNode, or NULL.nameSpacemust be a valid null-terminated string or NULL.