Set the value of a text node. The node is not changed if it is not a text node.
int mxmlSetText( mxml_node_t * node, int whitespace, const char * string);
Name | Description |
---|---|
node | Node to set |
whitespace | 1 = leading whitespace, 0 = no whitespace |
string | String |
0 on success, -1 on failure