Skip to main content

xmlNewText

Function xmlNewText 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlNewText( content: *const xmlChar, ) -> *mut _xmlNode
Expand description

Create a text node.

ยงUPSTREAM-PARITY

xmlNodePtr xmlNewText(const xmlChar *content);

Creates a new text node with the given content. If content is NULL, creates an empty text node.