- Dokumentacja
- Funkcje wspólne
- xmlNodeGetValue
Funkcja
xmlNodeGetValue
Zwraca tekst wewnątrz węzła (np. "Witaj" dla <msg>Witaj</msg>).
Składnia
string xmlNodeGetValue(xmlnode theXMLNode)Argumenty
theXMLNodexmlnode- Węzeł.
Zwraca
Tekst albo false.
Przykład
local root = xmlLoadString("<motd>Witaj na serwerze!</motd>")
outputChatBox(xmlNodeGetValue(root))
xmlUnloadFile(root)