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="Battle_Mage|2186" />
  </query-continue>
  <query>
    <pages>
      <page pageid="84" ns="0" title="Ballista yard" />
      <page pageid="88" ns="0" title="Barbarians" />
      <page pageid="95" ns="0" title="Battle mage" />
      <page pageid="450" ns="0" title="Greater basilisk" />
      <page pageid="2396" ns="0" title="Greater Basilisk" />
      <page pageid="2530" ns="0" title="Basilisk" />
      <page pageid="2894" ns="0" title="Basic Ballistics" />
      <page pageid="3100" ns="0" title="Basic ballistics" />
      <page pageid="3843" ns="0" title="Basilisk and greater basilisk" />
      <page pageid="5119" ns="0" title="Basilisks" />
    </pages>
  </query>
</api>