Skip to main content

xmlTextWriterWriteAttribute

Function xmlTextWriterWriteAttribute 

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

Write an attribute.

§UPSTREAM-PARITY

int xmlTextWriterWriteAttribute(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.