docs: public static CmsXmlContainerPage createDocument(
          CmsObject cms,
          Locale locale,
          String encoding,
          CmsXmlContentDefinition contentDefinition) {
  
          // create the XML content
          CmsXmlContainerPage content = new CmsXmlContainerPage(cms, locale, encoding, contentDefinition);
          // call prepare for use content handler and return the result
          return (CmsXmlContainerPage)content.getHandler().prepareForUse(cms, content);
      }