Skip to main content

xmlTextWriterWriteElement

Function xmlTextWriterWriteElement 

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

Write an element with inline content.

§UPSTREAM-PARITY

int xmlTextWriterWriteElement(xmlTextWriterPtr writer,
                               const xmlChar *name,
                               const xmlChar *content);

§SAFETY

  • writer must be a valid pointer to an XmlTextWriter or NULL.
  • name, content must be valid null-terminated strings or NULL.