Create a new CDATA node.
The new CDATA node is added to the end of the specified parent's child list. The constant MXML_NO_PARENT can be used to specify that the new CDATA node has no parent. The data string must be nul-terminated and is copied into the new node. CDATA nodes use the MXML_ELEMENT type.
mxml_node_t *
mxmlNewCDATA( mxml_node_t
* parent, const char * data);
Name | Description |
---|---|
parent | Parent node or MXML_NO_PARENT |
data | Data string |
New node