public static void checkedAnyAttributes(Element element, String[] labels) throws SyntaxException {
		for (String label : labels)
			if (element.hasAttribute(label))
				return;
		StringBuilder labelList = new StringBuilder();
		for (String label : labels)
			labelList.append(label).append(", ");
		String labelsAsList = labelList.toString();
		labelsAsList = labelsAsList.substring(0, labelsAsList.length() - 2);
		throw new SyntaxException(String.format("Tag %s missing at least one of any attribute: %s.",
				element.getNodeName(), labelsAsList));
	}