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>
    <alllinks galcontinue="Beam_Sword" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1358" ns="0" title="Badges" />
      <page pageid="9750" ns="0" title="Bag of Candy" />
      <page pageid="10008" ns="0" title="Balloon" />
      <page pageid="9624" ns="0" title="Bandage" />
      <page pageid="99" ns="0" title="Banners" />
      <page pageid="8435" ns="0" title="Barrage Launcher" />
      <page pageid="8436" ns="0" title="Baseball Bat" />
      <page pageid="1731" ns="0" title="Battle Clinic" />
      <page pageid="2025" ns="0" title="Battle clinic" />
      <page pageid="9851" ns="0" title="Beacon" />
    </pages>
  </query>
</api>