}
private static void writeHTML(File dir, String svg, CompositeEntity comp) throws Exception {
File htmlFile = new File(dir, comp.getName() + comp.getFileNameSuffix() + ".html");
HTMLWrapper html = new HTMLWrapper(svg, comp.getName(), htmlFile);
html.buildHTML();
// System.err.println("--------------HTML Output for " + comp.getName() + "--------------\n");
// System.out.println(content);
// System.err.println("--------------------------------------------------------------\n");