Skip to main content

xmlTextReaderGetAttribute

Function xmlTextReaderGetAttribute 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlTextReaderGetAttribute( reader: *mut XmlTextReader, name: *const xmlChar, ) -> *mut xmlChar
Expand description

Get an attribute value by name.

Returns a newly allocated string, or NULL.

§UPSTREAM-PARITY

xmlChar *xmlTextReaderGetAttribute(xmlTextReaderPtr reader, const xmlChar *name);

§Safety

reader and name must be valid pointers or NULL.