Method: VPMSPackageSchemaInterpreter#startSchema

Defined in:
lib/VPMSPackageSchemaInterpreter.rb

#startSchemaObject



69
70
71
72
73
74
75
76
77
78
# File 'lib/VPMSPackageSchemaInterpreter.rb', line 69

def startSchema
  #ToDo: Make this a widget - a schema open widget for example
  openSchema = ""
  openSchema << "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"
  openSchema << "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n"
  openSchema << "<xs:element xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" name=\"CommercialProperty\">\n"
  openSchema << "<xs:complexType>\n"
  openSchema << "<xs:sequence>\n"
  openSchema
end