Skip to main content

xmlTextReaderMoveToFirstAttribute

Function xmlTextReaderMoveToFirstAttribute 

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

Move to the first attribute of the current element.

Returns 1 on success, 0 if no attributes, -1 on error.

§UPSTREAM-PARITY

int xmlTextReaderMoveToFirstAttribute(xmlTextReaderPtr reader);

§Safety

reader must be a valid pointer or NULL.