Skip to main content

xmlTextReaderAttributeCount

Function xmlTextReaderAttributeCount 

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

Get the attribute count of the current element.

Returns the number of attributes, or -1 if not on an element.

§UPSTREAM-PARITY

int xmlTextReaderAttributeCount(xmlTextReaderPtr reader);

§Safety

reader must be a valid pointer or NULL.