appendElement(tldTag, "bodycontent", childText(tmlTag, "bodycontent"));
appendElement(tldTag, "info", childText(tmlTag, "description"));
NodeList attributes = tmlTag.getElementsByTagName("attribute");
for(int i = 0; i < attributes.getLength(); i++) {
Element attr = (Element) attributes.item(i);
copyAttribute(attr, appendElement(tldTag, "attribute"));
}
NodeList groups = ((Element) tmlTag.getElementsByTagName("attributeGroups").item(0)).getElementsByTagName("string");
for(int i = 0; i < groups.getLength(); i++) {
String name = groups.item(i).getTextContent();
NodeList attributes2 = this.attributeGroups.get(name);
for(int j = 0; j < attributes2.getLength(); j++) {
Element attr = (Element) attributes2.item(j);
copyAttribute(attr, appendElement(tldTag, "attribute"));
}
}
Element sorucelineAttr = appendElement(tldTag, "attribute");
appendElement(sorucelineAttr, "name", "sourceline");
appendElement(sorucelineAttr, "required", "false");
appendElement(sorucelineAttr, "rtexprvalue", "false");
}