Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
using xml
|
||||
|
||||
class XmlDom
|
||||
{
|
||||
public static Void main ()
|
||||
{
|
||||
doc := XDoc()
|
||||
root := XElem("root")
|
||||
doc.add (root)
|
||||
|
||||
child := XElem("element")
|
||||
child.add(XText("Some text here"))
|
||||
root.add (child)
|
||||
|
||||
doc.write(Env.cur.out)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue