- Documentation
- Shared functions
- xmlNodeGetName
Function
xmlNodeGetName
Returns the node's tag name (e.g. "spawn" for <spawn/>).
Syntax
string xmlNodeGetName(xmlnode node)Arguments
nodexmlnode- The node.
Returns
The name, or false.
Example
local root = xmlLoadString("<config/>")
outputDebugString(xmlNodeGetName(root))
xmlUnloadFile(root)