code: protected void createParentXmlElements(CmsXmlContent xmlContent, String xmlPath, Locale l) {
  
          if (CmsXmlUtils.isDeepXpath(xmlPath)) {
              String parentPath = CmsXmlUtils.removeLastXpathElement(xmlPath);
              if (null == xmlContent.getValue(parentPath, l)) {
                  createParentXmlElements(xmlContent, parentPath, l);
                  xmlContent.addValue(m_cms, parentPath, l, CmsXmlUtils.getXpathIndexInt(parentPath) - 1);
              }
          }
  
      }
docs: Creates the parents of nested XML elements if necessary.
  @param xmlContent the XML content that is edited.
  @param xmlPath the path of the (nested) element, for which the parents should be created
  @param l the locale for which the XML content is edited.