Skip to main content

xmlTextReaderReadString

Function xmlTextReaderReadString 

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

Read the content of the current node as a string.

§UPSTREAM-PARITY

Upstream xmlTextReaderReadString concatenates the text of the current node’s subtree (recursively) into one string. It behaves like xmlNodeGetContent for the current node.

xmlChar *xmlTextReaderReadString(xmlTextReaderPtr reader);

Returns a newly allocated string (free with xmlFree) or NULL.

§Safety

reader must be a valid pointer or NULL.