Contents Previous Next

Formatted Text

The mxmlNewTextf() and mxmlSetTextf() functions create and change text nodes, respectively, using printf -style format strings and arguments. For example, use the following function call to create a new text node containing a constructed filename:

    mxml_node_t *node;

    node = mxmlNewTextf(node, 1, "%s/%s",
                        path, filename);

Contents Previous Next