docs: public Document createDocument(CmsObject cms, I_CmsXmlDocument document, Locale locale) {
  
          Document doc = DocumentHelper.createDocument();
  
          Element root = doc.addElement(getOuterName());
  
          root.add(I_CmsXmlSchemaType.XSI_NAMESPACE);
          root.addAttribute(I_CmsXmlSchemaType.XSI_NAMESPACE_ATTRIBUTE_NO_SCHEMA_LOCATION, getSchemaLocation());
  
          createLocale(cms, document, root, locale);
          return doc;
      }