docs: public static String toXml(Collection<?> root, String rootName, Class clazz, String encoding) {
  		try {
  			CollectionWrapper wrapper = new CollectionWrapper();
  			wrapper.collection = root;
  
  			JAXBElement<CollectionWrapper> wrapperElement = new JAXBElement<CollectionWrapper>(new QName(rootName),
  					CollectionWrapper.class, wrapper);
  
  			StringWriter writer = new StringWriter();
  			createMarshaller(clazz, encoding).marshal(wrapperElement, writer);
  
  			return writer.toString();
  		} catch (JAXBException e) {
  			throw ExceptionUtil.unchecked(e);
  		}
  	}