Contents Previous Next

mxmlElementGetAttr()


Description

Get an attribute. This function returns NULL if the node is not an element or the named attribute does not exist.

Syntax

const char *
mxmlElementGetAttr(
    mxml_node_t * node,
    const char * name);

Arguments

NameDescription
nodeElement node
nameName of attribute

Returns

Attribute value or NULL


Contents Previous Next