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>
    <allredirects garcontinue="Búnquers" />
  </query-continue>
  <query>
    <pages>
      <page pageid="2" ns="0" title="Balma de la Regullosa" />
      <page pageid="553" ns="0" title="Baluard de Sant Andreu (S. XVI)" />
      <page pageid="503" ns="0" title="Baluard de Sant Jaume (s. XVI)" />
      <page pageid="540" ns="0" title="Baluard de Sant Joan (s.XVI)" />
      <page pageid="546" ns="0" title="Baluard de Sant Jordi (s.XVI)" />
      <page pageid="4487" ns="0" title="Barri dels pescadors" />
      <page pageid="91" ns="0" title="Barri hel·lenístic (s. III aC)" />
      <page pageid="1166" ns="0" title="Base militar Aèria del Pení" />
      <page pageid="719" ns="0" title="Biblioteca Jaume Vicens Vives" />
      <page pageid="544" ns="0" title="Bomba del setge (s.XVII)" />
    </pages>
  </query>
</api>