docs: public static String createDocument(Locale locale, String encoding) {
  
          try {
              return CmsXmlUtils.marshal(createDocument(locale), encoding);
          } catch (CmsXmlException e) {
              // this should never happen
              LOG.error(Messages.get().getBundle().key(Messages.ERR_XML_PAGE_FACT_CREATE_DOC_0), e);
              return null;
          }
      }