code: public String getXmlEditorForm() {
  
          // set "editor mode" attribute (required for link replacement in the root site)
          getCms().getRequestContext().setAttribute(CmsRequestContext.ATTRIBUTE_EDITOR, Boolean.TRUE);
  
          // add customized message bundle eventually specified in XSD of XML content
          addMessages(m_content.getHandler().getMessages(getLocale()));
          ((CmsMultiMessages)getMessages()).setFallbackHandler(m_content.getHandler().getMessageKeyHandler());
          // initialize tab lists for error handling before generating the editor form
          m_errorTabs = new ArrayList<CmsXmlContentTab>();
          m_warningTabs = new ArrayList<CmsXmlContentTab>();
  
          return getXmlEditorForm(m_content.getContentDefinition(), "", true, false).toString();
      }
docs: Generates the HTML form for the XML content editor.<p>
  
  @return the HTML that generates the form for the XML editor