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>
    <alltransclusions gatcontinue="CC-Layout|2351" />
  </query-continue>
  <query>
    <pages>
      <page pageid="97" ns="0" title="Roadmap" />
      <page pageid="796" ns="10" title="Template:Old" />
      <page pageid="2304" ns="6" title="File:Logo PirateTimes 001.png" />
      <page pageid="2306" ns="6" title="File:Logo PirateTimes 001.svg" />
      <page pageid="2308" ns="6" title="File:Logo PirateTimes 002.svg" />
      <page pageid="2309" ns="6" title="File:Logo PirateTimes 002-b.svg" />
      <page pageid="2311" ns="6" title="File:Logo PirateTimes 003.svg" />
      <page pageid="2315" ns="6" title="File:Logo PirateTimes 004.svg" />
      <page pageid="2317" ns="6" title="File:Logo PirateTimes 005.svg" />
      <page pageid="20740" ns="6" title="File:Voeux PPMP 2016 d.png" />
    </pages>
  </query>
</api>