code: @Nonnull
    public static ESuccess writeList (@Nonnull final Collection <String> aCollection,
                                      @Nonnull @WillClose final OutputStream aOS)
    {
      ValueEnforcer.notNull (aCollection, "Collection");
      ValueEnforcer.notNull (aOS, "OutputStream");
  
      try
      {
        final IMicroDocument aDoc = createListDocument (aCollection);
        return MicroWriter.writeToStream (aDoc, aOS, XMLWriterSettings.DEFAULT_XML_SETTINGS);
      }
      finally
      {
        StreamHelper.close (aOS);
      }
    }
docs: Write the passed collection to the passed output stream using the
  predefined XML layout.
  
  @param aCollection
  The map to be written. May not be <code>null</code>.
  @param aOS
  The output stream to write to. The stream is closed independent of
  success or failure. May not be <code>null</code>.
  @return {@link ESuccess#SUCCESS} when everything went well,
  {@link ESuccess#FAILURE} otherwise.