Skip to main content

xmlReadDoc

Function xmlReadDoc 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlReadDoc( cur: *const xmlChar, URL: *const c_char, encoding: *const c_char, options: c_int, ) -> *mut _xmlDoc
Expand description

Read an XML document from a string.

ยงUPSTREAM-PARITY

xmlDocPtr xmlReadDoc(const xmlChar *cur, const char *URL,
                     const char *encoding, int options);

Returns a parsed document. Caller must free with xmlFreeDoc.