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>
    <allredirects garcontinue="Black_Knight_and_Dread_Knight" />
  </query-continue>
  <query>
    <pages>
      <page pageid="2036" ns="0" title="Ballista Yard" />
      <page pageid="85" ns="0" title="Ballistics" />
      <page pageid="86" ns="0" title="Barbarian" />
      <page pageid="90" ns="0" title="Basilisk and Greater Basilisk" />
      <page pageid="93" ns="0" title="Battle Mage" />
      <page pageid="97" ns="0" title="Beastmaster" />
      <page pageid="99" ns="0" title="Behemoth and Ancient Behemoth" />
      <page pageid="101" ns="0" title="Beholder and Evil Eye" />
      <page pageid="6341" ns="0" title="Beholders&#039; Sanctuary" />
      <page pageid="2074" ns="0" title="Birthing Pools" />
    </pages>
  </query>
</api>