private Map<String, String> getAttributes(StartElement startElement) {
		Map<String, String> attributes = new HashMap<String, String>();
		@SuppressWarnings("unchecked")
		Iterator<Attribute> attributeIterator = startElement.getAttributes();
		while (attributeIterator.hasNext()) {
			Attribute attribute = attributeIterator.next();
			attributes.put(attribute.getName().getLocalPart(), attribute.getValue());
		}
		return attributes;
	}