code: public static void writeElementList(XMLOutput xmlOutput, String tagName, Iterable<String> listValues) throws IOException {
          writeElementList(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