#[unsafe(no_mangle)]pub unsafe extern "C" fn xmlCopyNode(
node: *const _xmlNode,
extended: c_int,
) -> *mut _xmlNodeExpand description
Copy a node.
ยงUPSTREAM-PARITY
xmlNodePtr xmlCopyNode(const xmlNodePtr node, int extended);If extended is 1, copies recursively (deep copy).
If extended is 0, copies only the node itself (shallow copy).
Returns a newly allocated copy. Caller must free with xmlFreeNode.