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>
    <allpages gapcontinue="Temple_of_the_Ages" />
  </query-continue>
  <query>
    <pages>
      <page pageid="451" ns="0" title="Tasty Mushroom" contentmodel="wikitext" pagelanguage="en" touched="2013-06-24T02:09:42Z" lastrevid="1233" counter="847" length="43" redirect="" new="" />
      <page pageid="376" ns="0" title="Teddy Bear" contentmodel="wikitext" pagelanguage="en" touched="2013-06-03T16:39:00Z" lastrevid="971" counter="2231" length="1864" new="" />
      <page pageid="235" ns="0" title="Tempest, the Arrowstorm Bow" contentmodel="wikitext" pagelanguage="en" touched="2013-06-28T01:34:24Z" lastrevid="620" counter="2817" length="698" new="" />
      <page pageid="350" ns="0" title="Temple of Healing" contentmodel="wikitext" pagelanguage="en" touched="2014-01-29T01:13:02Z" lastrevid="2107" counter="10502" length="908" />
    </pages>
  </query>
</api>