copyTag(aliasName, tmlTag, appendElement(taglib, "tag"));
}
}
TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformer = transformerFactory.newTransformer();
transformer.setOutputProperty(OutputKeys.INDENT, "yes");
transformer.transform(new DOMSource(tld), new StreamResult(targetFile));
}
private void copyTag(String tagName, Element tmlTag, Element tldTag) {