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="Teach_Scuba" />
  </query-continue>
  <query>
    <pages>
      <page pageid="11161" ns="0" title="TXR Instructor Programs" contentmodel="wikitext" pagelanguage="en" touched="2015-03-02T11:42:31Z" lastrevid="16242" counter="1074" length="236" new="" />
      <page pageid="11162" ns="0" title="TXR Programs" contentmodel="wikitext" pagelanguage="en" touched="2015-03-02T11:43:00Z" lastrevid="16243" counter="1228" length="207" new="" />
      <page pageid="11163" ns="0" title="Teach CPR and First Aid" contentmodel="wikitext" pagelanguage="en" touched="2015-03-02T11:43:30Z" lastrevid="16244" counter="1009" length="92" new="" />
      <page pageid="11164" ns="0" title="Teach Professional Instructor Training" contentmodel="wikitext" pagelanguage="en" touched="2015-03-02T11:43:52Z" lastrevid="16245" counter="1109" length="124" new="" />
    </pages>
  </query>
</api>