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 pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="MediaWiki default" anon="" timestamp="2010-04-16T12:31:03Z" />
          <rev user="R" timestamp="2010-04-17T21:50:45Z" comment="moved [[Main Page]] to [[Main Page!]]" />
          <rev user="R" timestamp="2010-04-17T21:51:09Z" comment="moved [[Main Page!]] to [[Main Page]] over redirect" />
          <rev user="It" timestamp="2010-11-16T13:57:10Z" />
          <rev user="Kiy" timestamp="2011-02-23T14:21:45Z" />
        </revisions>
      </page>
    </pages>
  </query>
  <query-continue>
    <revisions rvstartid="89" />
  </query-continue>
</api>