Skip to main content

xmlCopyDoc

Function xmlCopyDoc 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlCopyDoc( doc: *const _xmlDoc, recursive: c_int, ) -> *mut _xmlDoc
Expand description

Copy a document.

ยงUPSTREAM-PARITY

xmlDocPtr xmlCopyDoc(const xmlDocPtr doc, int recursive);

Returns a newly allocated copy. Caller must free with xmlFreeDoc.