Function new_cdata_block
Source pub unsafe fn new_cdata_block(
doc: *mut _xmlDoc,
content: *const xmlChar,
len: c_int,
) -> *mut _xmlNode
Expand description
Create a new CDATA section node.
§UPSTREAM-PARITY
xmlNodePtr xmlNewCDataBlock(xmlDocPtr doc, const xmlChar *content, int len);
Creates a CDATA section node with the given content.
§SAFETY
doc may be NULL.
content must be a valid pointer to a buffer of at least len bytes,
or NULL.