# helloXML1.sml string xmlfile$; xmlfile$ = _context.ScriptDir + "/hello.xml"; class XMLDOC dlgdoc; dlgdoc.Read(xmlfile$); class XMLNODE dlgnode; dlgnode = dlgdoc.GetElementByID("hello"); class GUI_DLG dlgwin; dlgwin.SetXMLNode(dlgnode); dlgwin.DoModal();