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"?>
    <revisions rvcontinue="996" />
      <page pageid="1" ns="0" title="Main Page">
          <rev user="MediaWiki default" anon="" timestamp="2008-06-23T09:11:26Z" comment="" />
          <rev user="Cedh" timestamp="2008-06-23T10:32:57Z" comment="" />
          <rev user="Cedh" timestamp="2008-07-18T09:59:12Z" comment="remove sysop links" />
          <rev user="Cedh" timestamp="2008-10-07T13:34:24Z" comment="major revision (reconstructed)" />
          <rev user="Cedh" timestamp="2008-10-18T20:35:00Z" comment="colours --- damn, I got logged out for the template edits!" />