code: public Element toElement(ExcelDatastore datastore, String filename) {
          final Element ds = getDocument().createElement("excel-datastore");
  
          ds.setAttribute("name", datastore.getName());
          if (!StringUtils.isNullOrEmpty(datastore.getDescription())) {
              ds.setAttribute("description", datastore.getDescription());
          }
  
          appendElement(ds, "filename", filename);
  
          return ds;
      }
docs: Externalizes a {@link ExcelDatastore} to a XML element.
  
  @param datastore
  @param filename
  the filename/path to use in the XML element. Since the
  appropriate path will depend on the reading application's
  environment (supported {@link Resource} types), this specific
  property of the datastore is provided separately.
  @return