private static void printAttributes(AttributeHolder attr, Element elm) {
		for(String a : attr.getAttributeNames()) {
			Object o = attr.getAttribute(a);
			if(o == null) continue;
			
			String type =  o instanceof Number ? "real" : "string";
			
			Element e = new Element("att");
			if(o.toString().contains("[") && o.toString().contains("]")) {
				type = "list";
				e.setAttribute("type", "list");
				e.setAttribute("name", "identifiers");
				String [] str = ((String)o).replace("[", "").replace("]", "").split(",");
				for(int i = 0; i < str.length; i++) {
					Element child = new Element("att");
					child.setAttribute("type", "string");
					child.setAttribute("name", "identifiers");
					child.setAttribute("value", str[i]);
					e.addContent(child);
				}
			} else {
				e.setAttribute("label", a);
				e.setAttribute("name", a);
				e.setAttribute("value", "" + o);
				if(a.equals("context+ score") || a.equals("score") || a.equals("pvalue")) {
					e.setAttribute("type", "real");
				} else {
					e.setAttribute("type", type);
				}
			}

			elm.addContent(e);
		}
	}