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>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Kaduk" timestamp="2014-08-04T15:12:00Z" comment="" xml:space="preserve">This is a repository for information about the GSS-API and resources for using it.

Programmers may wish to consult http://tools.ietf.org/html/draft-ietf-kitten-gss-loop-00</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>