printer.setVerbose(verbose);
printer.visit();
} else if (format.equals("xml")) {
try {
XMLMRPrinter printer = new XMLMRPrinter(ps, mrp);
printer.visit();
printer.closePlan();
} catch (ParserConfigurationException e) {
e.printStackTrace();
} catch (TransformerException e) {
e.printStackTrace();