public String getInstanceValue(Element element) throws MissingNodeException {
public String getInstanceValue(Element element, String appName) throws MissingNodeException {
		public String getInstanceValue(Element element) throws MissingNodeException {			org.dom4j.Attribute attribute = element.attribute("priority");			if (attribute ==  null)				throw new MissingNodeException("Missing priority attribute");			String value = attribute.getValue();			try {				int prio = Integer.parseInt(value);				switch (prio) {				case 1: return "high";				case 2: return "medium";				case 3: return "low";				default: return "?";				}			} catch (NumberFormatException e) {				throw new MissingNodeException("Invalid priority value: " + value);			}		}