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="Recreational_Courses" />
  </query-continue>
  <query>
    <pages>
      <page pageid="11152" ns="0" title="Rebreather Programs">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">[[Has program::Rebreather Programs]]
[[Has course::Rebreather Experience]]
[[Has course::Recreational CCR Diver]]
[[Has course::SCR Rebreather Diver]]
[[Has course::CCR Diver]]</rev>
        </revisions>
      </page>
      <page pageid="11153" ns="0" title="Rebreather Training">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">[[Has program::Rebreather Training]]
[[Has course::Rebreather Intro]]
[[Has course::Rebreather Diver CCR]]
[[Has course::Rebreather Diver SCR]]
[[Has course::Technical Rebreather Diver]]
[[Has course::Rebreather Explorer]]
[[Has course::Rebreather Instructor]]
[[Has course::Technical Rebreather Instructor]]
[[Has course::Exploration Rebreather Instructor]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>