Skip to main content

xmlDocGetRootElement

Function xmlDocGetRootElement 

Source
#[unsafe(no_mangle)]
pub extern "C" fn xmlDocGetRootElement( doc: *const _xmlDoc, ) -> *mut _xmlNode
Expand description

Get the root element of a document.

ยงUPSTREAM-PARITY

xmlNodePtr xmlDocGetRootElement(const xmlDoc *doc);

Returns a borrowed pointer (do not free).