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:
mxml_node_t *node; node = mxmlNewTextf(node, 1, "%s/%s", path, filename);