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="20796" ns="0" title="Main Page">
        <revisions>
          <rev user="Haiqu" timestamp="2011-06-03T03:08:17Z" comment="Text replace - &quot;Cruising and Sailing Wiki by CruiserLog&quot; to &quot;World Cruising and Sailing Wiki&quot;" />
          <rev user="Lighthouse" timestamp="2007-10-21T18:13:58Z" comment="[[Main Page]] moved to [[Cruising and Sailing Wiki by CruiserLog]]: Rename page" />
        </revisions>
      </page>
    </pages>
  </query>
</api>