Method
LasemDomDocumentcreate_text_node
Declaration
LsmDomText*
lsm_dom_document_create_text_node (
LsmDomDocument* self,
const char* data
)
Parameters
data-
Type:
const char*Content of the text node.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: LsmDomText
A newly created LsmDomText.
| The caller of the method takes ownership of the data, and is responsible for freeing it. |