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="Bad_Kissingen" />
  </query-continue>
  <query>
    <alllinks>
      <l ns="0" title="BDA-Gebäude" />
      <l ns="0" title="Baader-Befreiung" />
      <l ns="0" title="Babelsberger Filmstudios" />
      <l ns="0" title="Babenhausen" />
      <l ns="0" title="Bacchus" />
      <l ns="0" title="Bachstraße, S-Bahnbögen 481 und 482, 10555 Berlin" />
      <l ns="0" title="Bad Driburg" />
      <l ns="0" title="Bad Homburg" />
      <l ns="0" title="Bad Homburg vor der Höhe" />
      <l ns="0" title="Bad Honnef" />
    </alllinks>
  </query>
</api>