6 lines
161 B
Lua
6 lines
161 B
Lua
require("LuaXML")
|
|
local dom = xml.new("root")
|
|
local element = xml.new("element")
|
|
table.insert(element, "Some text here")
|
|
dom:append(element)
|
|
dom:save("dom.xml")
|