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 galcontinue="Deutsche_Bahn|65" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Hauptseite" />
      <page pageid="2" ns="0" title="Stuttgart 21" />
      <page pageid="54" ns="0" title="Stuttgart 21/Kosten" />
      <page pageid="178" ns="0" title="Bahnknoten München" />
      <page pageid="193" ns="0" title="Stuttgart 21/Stresstest/Interpretation" />
      <page pageid="1629" ns="0" title="Bibliothek 21" />
      <page pageid="1937" ns="0" title="Stuttgart 21/Brandschutz Tunnel" />
    </pages>
  </query>
</api>