docs: public static void writeCollection(XMLOutput xmlOutput, Collection<? extends XMLWriteable> collection) throws IOException {
          for (XMLWriteable obj : collection) {
              obj.writeXML(xmlOutput);
          }
      }