for (Iterator i = xpathIterator(xpath); i.hasNext(); ) { Node node = (Node) i.next();
for (Iterator<Node> i = xpathIterator(xpath); i.hasNext(); ) { Node node = i.next();
		public Set<String> collectAttributes(String xpath, String attrName)			throws DocumentException {			Set<String> result = new HashSet<String>();			for (Iterator i = xpathIterator(xpath); i.hasNext(); ) {				Node node = (Node) i.next();				String value = checkAttribute(node, attrName).getValue();				result.add(value);			}			return result;		}