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="Bat_Fang" />
  </query-continue>
  <query>
    <pages>
      <page ns="0" title="BUD Switch" missing="" />
      <page ns="0" title="Baked Potato" missing="" />
      <page pageid="2839" ns="0" title="Bamboo" />
      <page pageid="2838" ns="0" title="Bamboo Cane" />
      <page pageid="2844" ns="0" title="Bamboo Thatching" />
      <page pageid="2218" ns="0" title="Barley" />
      <page pageid="2229" ns="0" title="Barley Seeds" />
      <page pageid="1989" ns="0" title="Basalt" />
      <page pageid="2754" ns="0" title="Basalt Stone" />
      <page pageid="2106" ns="0" title="Basingse" />
    </pages>
  </query>
</api>