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-01-21T20:53:23Z" />
          <rev user="121.91.214.254" anon="" timestamp="2010-01-22T01:12:03Z" comment="Linked up a test page." />
          <rev user="Farbs" timestamp="2010-02-15T12:56:25Z" comment="Nice new welcome screen. Why not?" />
          <rev user="Farbs" timestamp="2010-02-16T01:19:09Z" comment="Futzing. Adding a clear direction for initial exploration. Just playing really though." />
          <rev user="Farbs" timestamp="2010-02-16T04:00:01Z" comment="Testing hotspot saving/loading" />
        </revisions>
      </page>
    </pages>
  </query>
  <query-continue>
    <revisions rvstartid="22" />
  </query-continue>
</api>