Skip to main content

xmlTextReaderXmlLang

Function xmlTextReaderXmlLang 

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

Return the xml:lang of the current node.

§UPSTREAM-PARITY

Upstream xmlTextReaderXmlLang returns xmlNodeGetLang(node): the nearest xml:lang attribute on the node or an ancestor.

xmlChar *xmlTextReaderXmlLang(xmlTextReaderPtr reader);

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

§Safety

reader must be a valid pointer or NULL.