Vector attributeVector = new Vector();
Vector variableVector = new Vector();
Iterator list = elem.findChildren();
while (list.hasNext()) {
TreeNode element = (TreeNode) list.next();
String tname = element.getName();
if ("name".equals(tname))
name = element.getBody();
else if ("tagclass".equals(tname) ||
"tag-class".equals(tname))
tagclass = element.getBody();
else if ("teiclass".equals(tname) ||
"tei-class".equals(tname))
teiclass = element.getBody();
else if ("bodycontent".equals(tname) ||
"body-content".equals(tname))
bodycontent = element.getBody();
else if ("display-name".equals(tname))
displayName = element.getBody();
else if ("small-icon".equals(tname))
smallIcon = element.getBody();
else if ("large-icon".equals(tname))
largeIcon = element.getBody();
else if ("info".equals(tname) ||
"description".equals(tname))
info = element.getBody();
else if ("variable".equals(tname)) {
variableVector.addElement(createVariable(element));
} else if ("attribute".equals(tname))
attributeVector.addElement(createAttribute(element));
else if ("example".equals(tname) || // Ignored elements