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="Back|610" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page" />
      <page pageid="176" ns="0" title="Fallen Ancients&#039; Cloak" />
      <page pageid="180" ns="0" title="Dimensional Cloak" />
      <page pageid="181" ns="0" title="Illuminated Cloak" />
      <page pageid="183" ns="0" title="Cloak of Venom" />
      <page pageid="184" ns="0" title="Fletcher&#039;s Cloak" />
      <page pageid="185" ns="0" title="Cloak of Silver Eyes" />
      <page pageid="187" ns="0" title="Demon Slayer&#039;s Shroud" />
      <page pageid="390" ns="0" title="Cloak of Penitence" />
      <page pageid="604" ns="0" title="Lizardscale Cloak" />
    </pages>
  </query>
</api>