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="CTAFooter|96" />
  </query-continue>
  <query>
    <pages>
      <page pageid="10" ns="0" title="Resources" />
      <page pageid="15" ns="0" title="Resource Buildings" />
      <page pageid="26" ns="0" title="Command Buildings" />
      <page pageid="34" ns="0" title="Smuggler&#039;s Den" />
      <page pageid="45" ns="0" title="Naval Buildings" />
      <page pageid="46" ns="0" title="Fortifications" />
      <page pageid="72" ns="0" title="Improvements" />
      <page pageid="74" ns="0" title="Offensive Units" />
      <page pageid="83" ns="0" title="Defensive Units" />
      <page pageid="92" ns="0" title="Dark Corsairs" />
    </pages>
  </query>
</api>