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="B&#039;z/Buddy" />
  </query-continue>
  <query>
    <pages>
      <page pageid="7987" ns="0" title="B&#039;z" />
      <page pageid="8500" ns="0" title="B&#039;z/Ai no Mama ni Wagamama ni Boku wa Kimi Dake wo Kizu Tsukenai" />
      <page pageid="8501" ns="0" title="B&#039;z/Alone" />
      <page pageid="8476" ns="0" title="B&#039;z/Arigato" />
      <page pageid="8477" ns="0" title="B&#039;z/Atsuki Kodou no Hate" />
      <page pageid="8546" ns="0" title="B&#039;z/Bad Communication" />
      <page pageid="8478" ns="0" title="B&#039;z/Banzai" />
      <page pageid="8504" ns="0" title="B&#039;z/Be There" />
      <page pageid="4752" ns="0" title="B&#039;z/Boku ni wa Kimi ga Iru" />
      <page pageid="8549" ns="0" title="B&#039;z/Break Through" />
    </pages>
  </query>
</api>