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="Conkers_Bad_Fur_Day/100%|5328" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1745" ns="0" title="Baldur&#039;s Gate 2: Shadows of Amn" />
      <page pageid="1746" ns="0" title="Baldur&#039;s gate 2" />
      <page pageid="1747" ns="0" title="Baldurs gate 2" />
      <page pageid="1748" ns="0" title="Baldur&#039;s gate II" />
      <page pageid="1749" ns="0" title="Baldurs gate II" />
      <page pageid="1750" ns="0" title="Shadows of amn" />
      <page pageid="1892" ns="0" title="BioShock2" />
      <page pageid="1932" ns="0" title="Bioshock 2" />
      <page pageid="5316" ns="0" title="Conker&#039;s Bad Fur Day" />
      <page pageid="6503" ns="0" title="Bastion/Any% Routes" />
    </pages>
  </query>
</api>