}
}
public HSSFWorkbook export(final String languageFileXmlPath,
final Locale[] locales) throws Exception {
LanguageSettings ls = (LanguageSettings) JAXBContext.newInstance(
"com.fit.translation.xlsdoor.model").createUnmarshaller()
.unmarshal(new File(languageFileXmlPath));
final Set<String> attributeIdSet = new LinkedHashSet<String>();
for (LanguageFile lf : ls.getLanguageFiles().getLanguageFile()) {
for (Attribute attr : lf.getAttribute()) {
attributeIdSet.add(attr.getId());
}
}
final List<String> attributeIds = new ArrayList<String>(attributeIdSet);