helloXML2.sml

  Download

More scripts: Dialog

Syntax Highlighing:

comments, key words, predefined symbols, class members & methods, functions & classes
            
# helloXML2.sml
string xml$;
xml$='<?xml version="1.0"?>
	<root>
		<dialog id = "hello" title="Hello World">
			<label>Sample Dialog Window</label>
		</dialog>
	</root>';
class XMLDOC dlgdoc;
dlgdoc.Parse(xml$);
class XMLNODE dlgnode;
dlgnode = dlgdoc.GetElementByID("hello");
class GUI_DLG dlgwin;
dlgwin.SetXMLNode(dlgnode);
dlgwin.DoModal();