pub unsafe fn new_child(
parent: *mut _xmlNode,
ns: *mut _xmlNs,
name: *const xmlChar,
) -> *mut _xmlNodeExpand description
Create a new child element.
§UPSTREAM-PARITY
xmlNodePtr xmlNewChild(xmlNodePtr parent, xmlNsPtr ns, const xmlChar *name);Creates a new element and adds it as the last child of parent.
§SAFETY
parentmust be a valid pointer to an _xmlNode, or NULL.namemust be a valid null-terminated string or NULL.