You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapcontinue="Settings:First_Look" />
  </query-continue>
  <query>
    <pages>
      <page pageid="86" ns="0" title="Sessions">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">Sessions provides a listing of all users logging into and out of the website.

The block link next to each record is provided to block the user's IP from submitting any forms on the website - this includes logging in, managing or using form based services such as account creation, polling, forums, etc. View a list of all currently blocked IPs, and remove blocks, using [[IP Blocks]].</rev>
        </revisions>
      </page>
      <page pageid="67" ns="0" title="Settings">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">The Settings area is used to set the platform for how the site will operate. The settings should be the first administration area visited upon installing a new site in order to set all the site attributes and activate / configure required features.

Settings are used to control:

*Setup the site
*Configure the site
*Make available / unavailable site features / functions
*Configure each of these features / functions

For more on using Settings:

*[[Settings:First Look]]
*[[Settings:First Use]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>