You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapfrom="Reading groups of a user" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1706" ns="0" title="Read a property of an arbitrary CmsResource">
        <revisions>
          <rev xml:space="preserve">With scriptlets, you can read the properties of any opencms resource. 

&lt;source lang=&quot;java&quot;&gt;
   &lt;%@page import=&quot;org.opencms.file.CmsProperty&quot;%&gt;
   &lt;%
      CmsJspActionElement cmsAction    = new CmsJspActionElement (pageContext, request, response);
      CmsObject cmsObject              = cmsAction.getCmsObject();
      
      // Try to find the &quot;prop_name&quot; property of the current file and, if it is not found there, try to find it on all parent folders:
      boolean search = true;
      CmsProperty prop = cms.readPropertyObject(&quot;/sites/mysite/my_path/file.ext&quot;, &quot;prop_name&quot;, search);      
      String propValue = (prop != null) ? prop.getValue() : null;

     // ... or get the title propery ...
     CmsProperty titleProp = cmsObject.readPropertyObject (cmsAction.getRequestContext().getUri(), &quot;Title&quot;, false);
     String title = (titleProp != null) ? titleProp.getValue() : null;
   %&gt;
&lt;/source&gt;

[[Category:Developing in OpenCms]]</rev>
        </revisions>
      </page>
      <page pageid="1799" ns="0" title="Reading all groups of the root organizational unit">
        <revisions>
          <rev xml:space="preserve">The code below is valid to the 7.0.4 version.
== Code ==
&lt;pre&gt;
CmsOrgUnitManager oum = OpenCms.getOrgUnitManager();
List groups = oum.getGroups(myCmsObj,&quot;&quot;, true);
Iterator iterator = groups.iterator();
while (iterator.hasNext()) {
       CmsGroup group = (CmsGroup)iterator.next();
       // Access the group information

}

&lt;/pre&gt;</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>