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="Early_Energy_Tanks" />
  </query-continue>
  <query>
    <alllinks>
      <l ns="0" title="BSJ" />
      <l ns="0" title="Berserker Lord (first battle)" />
      <l ns="0" title="Berserker Lord (second battle)" />
      <l ns="0" title="Bomb Jumps" />
      <l ns="0" title="Boss Tricks" />
      <l ns="0" title="Chozo Observatory SW" />
      <l ns="0" title="Creche Transit SW" />
      <l ns="0" title="Dark Samus" />
      <l ns="0" title="Dashes" />
      <l ns="0" title="Defense Drone" />
    </alllinks>
  </query>
</api>