Function xmlNewNode
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlNewNode(
ns: *mut _xmlNs,
name: *const xmlChar,
) -> *mut _xmlNode
Expand description
Create a new node.
§UPSTREAM-PARITY
xmlNodePtr xmlNewNode(xmlNsPtr ns, const xmlChar *name);
§SAFETY
ns may be NULL.
name must be a valid string.
- Returns a newly allocated node. Caller must free with
xmlFreeNode.