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="Baal_Netbek" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="2329" ns="0" title="Baal Cadar" />
      <p pageid="10954" ns="0" title="Baal Cadar (Dialog)" />
      <p pageid="2377" ns="0" title="Baal Isidro" />
      <p pageid="10982" ns="0" title="Baal Isidro (Dialog)" />
      <p pageid="2408" ns="0" title="Baal Kagan" />
      <p pageid="10981" ns="0" title="Baal Kagan (Dialog)" />
      <p pageid="2378" ns="0" title="Baal Lukor" />
      <p pageid="10956" ns="0" title="Baal Lukor (Dialog)" />
      <p pageid="2330" ns="0" title="Baal Namib" />
      <p pageid="10953" ns="0" title="Baal Namib (Dialog)" />
    </allpages>
  </query>
</api>