docs: private String[] getPathElements(CmsXmlContent content, I_CmsXmlContentValue value) {
  
          List<String> pathElements = new ArrayList<String>();
          String[] paths = value.getPath().split("/");
          String path = "";
          for (int i = 0; i < paths.length; i++) {
              path += paths[i];
              I_CmsXmlContentValue ancestor = content.getValue(path, value.getLocale());
              int valueIndex = ancestor.getXmlIndex();
              if (ancestor.isChoiceOption()) {
                  Element parent = ancestor.getElement().getParent();
                  valueIndex = parent.indexOf(ancestor.getElement());
              }
              String pathElement = getAttributeName(ancestor);
              pathElements.add(pathElement + "[" + valueIndex + "]");
              if (ancestor.isChoiceType()) {
                  pathElements.add("ATTRIBUTE_CHOICE");
              }
              path += "/";
          }
          return pathElements.toArray(new String[pathElements.size()]);
      }