Get an attribute. This function returns NULL if the node is not an element or the named attribute does not exist.
const char * mxmlElementGetAttr( mxml_node_t * node, const char * name);
Name | Description |
---|---|
node | Element node |
name | Name of attribute |
Attribute value or NULL