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.
mxml_node_t *
mxmlNewElement( mxml_node_t
* parent, const char * name);
Name | Description |
---|---|
parent | Parent node or MXML_NO_PARENT |
name | Name of element |
New node