client.setAttribute("ID", cc.getId());
String tname = cc.getName();
client.setAttribute("Name", tname.substring(0,Math.min(35, tname.length())));
String tc = cc.getAddress() + " Tlf: " + cc.getPhone();
client.setAttribute("Addr", (tc).substring(0, Math.min(30,tc.length())));
clienXML.addChild(client);
clientsAdded.add(cc.getId());
}
}
System.out.println("[" + Shared.now() + "] " + this.getClass().getName() + " " + Shared.lineNumber() + " Creado XML para clientes");