elementElement = new Element("element");
elementElement.setAttribute("z",
Integer.toString(el.getAtomicNumber()));
elementElement.setAttribute("weightFraction",
Double.toString(mat.weightFraction(el, false)));
compositionElement.addContent(elementElement);
}
element.addContent(compositionElement);