MAIN DEFINE d om.DomDocument DEFINE r om.DomNode LET d = om.DomDocument.create("MyDocument") LET r = d.getDocumentElement() END MAIN