blob: 6ba2a2ec33c49816437648091e9cc36deaafe6e9 [file] [log] [blame]
var note : new NoteType;
note.to = "John";
note.from = "Nick";
note.heading = "Reminder";
note.body = "Don't forget me this weekend!";
note.addText("Some text", 0);
var root : new DocumentRoot;
root.note = note;
root.xSISchemaLocation.put("xsdxml", "note.xsd");
root.xMLNSPrefixMap.put("", "xsdxml");
root.xMLNSPrefixMap.put("xsi", "http://www.w3.org/2001/XMLSchema-instance");