Iterator itr2 = sessionEl.elements("ejb-local-ref").iterator();
while (itr2.hasNext()) {
Element ejbLocalRefEl = (Element)itr2.next();
sb.append("\t\t<ejbRefBindings xmi:id=\"EjbRefBinding_").append(++ejbLocalRefCount).append("\" jndiName=\"").append(ejbLocalRefEl.elementText("ejb-ref-name")).append("\">\n");
sb.append("\t\t\t<bindingEjbRef xmi:type=\"com.ibm.etools.j2ee.common:EJBLocalRef\" href=\"META-INF/ejb-jar.xml#EjbRef_").append(ejbLocalRefCount).append("\" />\n");
sb.append("\t\t</ejbRefBindings>\n");
}
sb.append("\t</ejbBindings>\n");