13 lines
341 B
Text
13 lines
341 B
Text
use XML;
|
|
|
|
bundle Default {
|
|
class Test {
|
|
function : Main(args : String[]) ~ Nil {
|
|
builder := XMLBuilder->New("root", "1.0");
|
|
root := builder->GetRoot();
|
|
element := XMLElement->New(XMLElementType->ELEMENT, "element", "Some text here");
|
|
root->AddChild(element);
|
|
builder->ToString()->PrintLine();
|
|
}
|
|
}
|
|
}
|