Iterator terminologyIterator = terminologyList.getChildren("terminology", tmd).iterator();
// add every terminology into model
while (terminologyIterator.hasNext())
{
Terminology terminology = new TerminologyImpl();
Element terminologyElement = (Element) terminologyIterator.next();
terminology.setID(terminologyElement.getAttributeValue("id"));
terminology.setName(terminologyElement.getChild("name").getTextNormalize());
terminology.setDescription(_decode(terminologyElement.getChild("description").getTextNormalize()));
terminology.setSource(_decode(terminologyElement.getChild("source").getTextNormalize()));
terminology.setSynonym(_decode(terminologyElement.getChild("synonym").getTextNormalize()));
terminologyModel.addTerminology(terminology);
}
}