# helloXML2.sml string xml$; xml$=' '; class XMLDOC dlgdoc; dlgdoc.Parse(xml$); class XMLNODE dlgnode; dlgnode = dlgdoc.GetElementByID("hello"); class GUI_DLG dlgwin; dlgwin.SetXMLNode(dlgnode); dlgwin.DoModal();