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="TV_s_still_the_king_of_media" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1676" ns="0" title="TSA Rules for Cosmetics in Carry" contentmodel="wikitext" pagelanguage="en" touched="2014-12-28T01:32:29Z" lastrevid="2356" counter="1335" length="15683" />
      <page pageid="6229" ns="0" title="TSA Rules for International Travel" contentmodel="wikitext" pagelanguage="en" touched="2014-12-29T21:52:19Z" lastrevid="8337" counter="611" length="16193" new="" />
      <page pageid="6248" ns="0" title="TV Show Starring Zooey Deschanel" contentmodel="wikitext" pagelanguage="en" touched="2014-12-29T22:22:45Z" lastrevid="8420" counter="509" length="16375" new="" />
      <page pageid="1619" ns="0" title="TV host helps break a world record" contentmodel="wikitext" pagelanguage="en" touched="2014-12-28T01:22:31Z" lastrevid="2279" counter="695" length="15641" />
    </pages>
  </query>
</api>