Skip to main content

xmlTextReaderMoveToAttribute

Function xmlTextReaderMoveToAttribute 

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

Move to an attribute by name.

Returns 1 on success, 0 if not found, -1 on error.

§UPSTREAM-PARITY

int xmlTextReaderMoveToAttribute(xmlTextReaderPtr reader, const xmlChar *name);

§Safety

reader must be a valid pointer or NULL. name must be a valid C string or NULL.