Skip to main content

xmlTextReaderStandalone

Function xmlTextReaderStandalone 

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

Return the standalone flag of the document being read.

§UPSTREAM-PARITY

Upstream xmlTextReaderStandalone returns the document’s standalone value (1 = standalone, 0 = not, -1 = no XML declaration / NULL reader).

int xmlTextReaderStandalone(xmlTextReaderPtr reader);

§Safety

reader must be a valid pointer or NULL.