Contents Previous Next

mxmlSetElement()


Description

Set the name of an element node. The node is not changed if it is not an element node.

Syntax

int
mxmlSetElement(
    mxml_node_t * node,
    const char * name);

Arguments

NameDescription
nodeNode to set
nameNew name string

Returns

0 on success, -1 on failure


Contents Previous Next