You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="309" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="MediaWiki default" anon="" timestamp="2008-05-12T15:43:32Z" comment="" />
          <rev user="59.162.2.142" anon="" timestamp="2008-05-12T16:02:52Z" comment="/* Getting started */" />
          <rev user="Vipul" timestamp="2008-05-13T00:55:19Z" comment="Replacing page with &#039;Welcome to the Subject Wikis Reference Guide!&#039;" />
          <rev user="Vipul" timestamp="2008-05-22T18:19:05Z" comment="" />
          <rev user="Vipul" timestamp="2009-02-03T01:43:03Z" comment="" />
        </revisions>
      </page>
    </pages>
  </query>
</api>