value = attribute.getInstanceValue(element);
value = attribute.getInstanceValue(element, appName);
	public void generateInstances(Document document, final Writer out)			throws MissingNodeException, IOException {		List bugInstanceList = document.selectNodes("/BugCollection/BugInstance");		for (Iterator i = bugInstanceList.iterator(); i.hasNext(); ) {			final Element element = (Element) i.next();			scanAttributeList(new AttributeCallback() {				boolean first = true;				public void apply(Attribute attribute) throws IOException {					if (!first)						out.write(",");					first = false;					String value;					try {						value = attribute.getInstanceValue(element);					} catch (MissingNodeException e) {						value = "?";					}					out.write(value);				}			});			out.write("\n");		}	}