• Strings returned by the XML Interface are only valid until control is returned to the framework OR until another XML Interface call is made, whichever is sooner. You should dereference and copy any such string immediately, and then not dereference it again.
C API (Component Interface)
Symbol xml_getNodeName(Symbol node, const char** name);

Get the tag name of an XML node.


Symbol node
The XML node to operate on.
const char** name OUT
The returned node name. This string is valid only until any other XML Interface function is called, or until control is returned to the framework.

Return Values

See also XML Interface Return Values.