Contents Previous Next

mxmlNewElement()

Description

Create a new element node.

The new element 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 element node has no parent.

Syntax

mxml_node_t *
mxmlNewElement( mxml_node_t * parent, const char * name);

Arguments

NameDescription
parentParent node or MXML_NO_PARENT
nameName of element

Returns

New node


Contents Previous Next