Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
import lang::xml::DOM;
|
||||
|
||||
public void main(){
|
||||
x = document(element(none(), "root", [element(none(), "element", [charData("Some text here")])]));
|
||||
return println(xmlPretty(x));
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
rascal>main()
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root>
|
||||
<element>Some text here</element>
|
||||
</root>
|
||||
Loading…
Add table
Add a link
Reference in a new issue