"###############################################");
Element root = document.addElement("language");
for (Iterator<Fieldvalues> it = fvList.iterator();it.hasNext();) {
Fieldvalues fv = it.next();
Element eTemp = root.addElement("string")
.addAttribute("id", fv.getFieldvalues_id().toString())
.addAttribute("name", fv.getName());
Element value = eTemp.addElement("value");
if (fv.getFieldlanguagesvalue()!=null) {
value.addText(fv.getFieldlanguagesvalue().getValue());
} else {
//Add english default text
Fieldlanguagesvalues flv = Fieldmanagment.getInstance().getFieldByIdAndLanguage(fv.getFieldvalues_id(), 1L);
if (flv != null) {
value.addText(flv.getValue());
} else {
value.addText("");
}