- Documentation
- Shared functions
- xmlNodeGetValue
Function
xmlNodeGetValue
Returns the text inside a node (e.g. "Hello" for <msg>Hello</msg>).
Syntax
string xmlNodeGetValue(xmlnode theXMLNode)Arguments
theXMLNodexmlnode- The node.
Returns
The text, or false.
Example
local root = xmlLoadString("<motd>Witaj na serwerze!</motd>")
outputChatBox(xmlNodeGetValue(root))
xmlUnloadFile(root)