String comment = "DO NOT EDIT. This file was generated by "
+ "ptolemy.domains.ptinyos.util.nc2moml.MoMLLib. "
+ "The filename was chosen so that it does not "
+ "conflict with .nc files of the same name and any "
+ "other ptII-referenced .moml file in the classpath.";
doc.addContent(new Comment(comment));
doc.setRootElement(root);
doc.setDocType(plot);
Element group = new Element("group");