code: public void setFile(Element el, String key, Resource value) {
  	if (value != null && value.toString().length() > 0) el.setAttribute(key, value.getAbsolutePath());
      }
docs: sets a file value to a XML Element
  
  @param el Element to set value on it
  @param key key to set
  @param value value to set