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 alcontinue="Baker&#039;s_wife" />
  </query-continue>
  <query>
    <alllinks>
      <l ns="0" title="BF Prison" />
      <l ns="0" title="Baal-Naygash" />
      <l ns="0" title="Baal-Naygash (undead)" />
      <l ns="0" title="Baaz Draconian" />
      <l ns="0" title="Baboon" />
      <l ns="0" title="Baby Lag Monster, gumming up the works" />
      <l ns="0" title="Baby slime (undead)" />
      <l ns="0" title="Background" />
      <l ns="0" title="Backstab" />
      <l ns="0" title="Bahk, the retired cyclops war hero runs the bar" />
    </alllinks>
  </query>
</api>