String fullName = formatAtomName(a);
xw.openTag("atom"); xw.attribute("atomID",Integer.toString(atom.getPDBserial())); xw.attribute("atomName",formatAtomName(atom)); xw.attribute("x",Double.toString(atom.getX())); xw.attribute("y",Double.toString(atom.getY()));