Skip to main content

xmlTextWriterWriteRaw

Function xmlTextWriterWriteRaw 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlTextWriterWriteRaw( writer: *mut XmlTextWriter, content: *const xmlChar, ) -> c_int
Expand description

Write raw content (no XML escaping).

§UPSTREAM-PARITY

int xmlTextWriterWriteRaw(xmlTextWriterPtr writer, const xmlChar *content);

Performs the upstream state-dependent transitions before the content: DTD -> “ [“ (+newline when indented), DTD_ELEM/DTD_ATTL -> “ “, DTD_ENTY/PENT -> “ “ + quote char, PI -> “ “.

§SAFETY

  • writer must be a valid pointer to an XmlTextWriter or NULL.
  • content must be a valid null-terminated xmlChar string or NULL.