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="1542" ns="0" title="Main Page">
        <revisions>
          <rev user="1146488768" timestamp="2006-05-01T12:55:47Z" />
          <rev user="Graybeard" timestamp="2006-05-01T23:10:10Z" comment="Rvt, de-spam" />
          <rev user="1147373464" timestamp="2006-05-11T18:39:28Z" />
          <rev user="Spiketail" timestamp="2006-05-12T00:29:56Z" comment="Reverted edit of 1147373464, changed back to last version by Graybeard" />
          <rev user="Graybeard" timestamp="2006-08-27T17:42:31Z" />
        </revisions>
      </page>
    </pages>
  </query>
  <query-continue>
    <revisions rvstartid="3559" />
  </query-continue>
</api>