code: public String[] getAttributeNames() {
  		NamedNodeMap map = dom.getAttributes();
  		String[] names = new String[map.getLength()];
  		
  		for (int i=0;i<names.length;i++) {
  			names[i] = map.item(i).getNodeName();
  		}
  		
  		return names;
  	}
docs: Get the names of the attributes specified on this element
  
  @return The names of the elements specified