Skip to main content

dump_doc

Function dump_doc 

Source
pub unsafe fn dump_doc(doc: *mut _xmlDoc) -> *mut xmlChar
Expand description

Dump a document to a null-terminated string.

Returns a pointer to the string (caller must free with xmlFree). Returns NULL on error.

§SAFETY

  • doc must be a valid pointer to an _xmlDoc, or NULL.