90919293949596979899100
// } // if (hasErrors) { // throw new Exception("Invalid SBML: " + numErrors + " errors"); // } // Write the xml string String xmlmodel = new String(model.toSBML()); if(xmlmodel != null && xmlmodel.length() > 0){ String h = getHeader(); xml = h + xmlmodel + "</sbml>"; }