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>
    <allpages apcontinue="Bad_Homburg" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="6284" ns="0" title="BAT" />
      <p pageid="7565" ns="0" title="BDA-Gebäude" />
      <p pageid="654" ns="0" title="Baader-Befreiung" />
      <p pageid="5674" ns="0" title="Baader-Befreiungs-Aktion" />
      <p pageid="3380" ns="0" title="Babelsberger Filmstudios" />
      <p pageid="4908" ns="0" title="Babenhausen" />
      <p pageid="213" ns="0" title="Bacchus" />
      <p pageid="5239" ns="0" title="Bachstraße, 10555 Berlin" />
      <p pageid="6366" ns="0" title="Bachstraße, S-Bahnbögen 481 und 482, 10555 Berlin" />
      <p pageid="5757" ns="0" title="Bad Driburg" />
    </allpages>
  </query>
</api>