Contents Previous Next

 Mini-XML 2.3 mxmlNewCDATA()

Description

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.

Syntax

mxml_node_t *
mxmlNewCDATA( mxml_node_t * parent, const char * data);

Arguments

NameDescription
parentParent node or MXML_NO_PARENT
dataData string

Returns

New node


Contents Previous Next