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 apcontinue="Bactrian_camel" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="812" ns="0" title="BC Almaty" />
      <p pageid="4539" ns="0" title="BC Astana" />
      <p pageid="6800" ns="0" title="BC Barsy Atyrau" />
      <p pageid="3074" ns="0" title="BGN/PCGN romanization of Kazakh" />
      <p pageid="3185" ns="0" title="BIIK Kazygurt" />
      <p pageid="5158" ns="0" title="BN-350 reactor" />
      <p pageid="4992" ns="0" title="BTA Bank" />
      <p pageid="3532" ns="0" title="BTA Futsal" />
      <p pageid="3976" ns="0" title="Babajide Collins Babatunde" />
      <p pageid="6752" ns="0" title="Babolsar" />
    </allpages>
  </query>
</api>