public String toString(Element el,String attributeName){
  return el.getAttribute(attributeName);
}

public String toString ( Element el , String attributeName ) { return el . getAttribute ( attributeName ) ; }
reads a xml element attribute ans cast it to a string
