2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -0,0 +1,8 @@
|
|||
( ("?"."xml version=\"1.0\" ")
|
||||
\n
|
||||
(root.,"\n " (element.,"
|
||||
Some text here
|
||||
") \n)
|
||||
: ?xml
|
||||
& out$(toML$!xml)
|
||||
);
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
( ("?"."xml version=\"1.0\"") (root.,(element.,"Some text here"))
|
||||
: ?xml
|
||||
& out$(toML$!xml)
|
||||
);
|
||||
6
Task/XML-DOM-serialization/Lua/xml-dom-serialization.lua
Normal file
6
Task/XML-DOM-serialization/Lua/xml-dom-serialization.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue