code: public static void writeFileList(XMLOutput xmlOutput, String tagName, Iterable<File> listValues) throws IOException {
          if (listValues != null) {
              writeFileList(xmlOutput, tagName, listValues.iterator());
          }
      }
docs: Write a list of Strings to document as elements with given tag name.
  
  @param xmlOutput
  the XMLOutput object to write to
  @param tagName
  the tag name
  @param listValues
  Collection of String values to write