Skip to main content

xmlNewTextWriterDoc

Function xmlNewTextWriterDoc 

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

Create a new XML text writer for a document (tree mode).

§UPSTREAM-PARITY

xmlTextWriterPtr xmlNewTextWriterDoc(xmlDocPtr *doc, int compression);

§SAFETY

  • doc must be a valid pointer to a (possibly NULL) xmlDocPtr.