code: private List<CmsElementComparison> getElements(I_CmsXmlDocument xmlPage) {
  
          List<CmsElementComparison> elements = new ArrayList<CmsElementComparison>();
          Iterator<Locale> locales = xmlPage.getLocales().iterator();
          while (locales.hasNext()) {
              Locale locale = locales.next();
              Iterator<String> elementNames = xmlPage.getNames(locale).iterator();
              while (elementNames.hasNext()) {
                  String elementName = elementNames.next();
                  elements.add(new CmsElementComparison(locale, elementName));
              }
          }
          return elements;
      }
docs: Returs a list of all element names of a xml page.<p>
  
  @param xmlPage the xml page to read the element names from
  @return a list of all element names of a xml page