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="Building_with_AOSP" />
  </query-continue>
  <query>
    <alllinks>
      <l ns="0" title="BD7885" />
      <l ns="0" title="BP Loader" />
      <l ns="0" title="BP firmware" />
      <l ns="0" title="Baseband Processor Boot ROM" />
      <l ns="0" title="BootRecoverySignature" />
      <l ns="0" title="Boot chain" />
      <l ns="0" title="Booting chain" />
      <l ns="0" title="Bootloader mode" />
      <l ns="0" title="Broadcom BCM4325" />
      <l ns="0" title="Broadcomm BCM4750" />
    </alllinks>
  </query>
</api>