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="Documentation" />
  </query-continue>
  <query>
    <pages>
      <page pageid="75" ns="10" title="Template:Category handler" />
      <page pageid="76" ns="10" title="Template:Category handler/blacklist" />
      <page pageid="77" ns="10" title="Template:Category handler/doc" />
      <page pageid="78" ns="10" title="Template:Category handler/numbered" />
      <page pageid="86" ns="10" title="Template:Category other" />
      <page pageid="32" ns="10" title="Template:Clear" />
      <page pageid="1679" ns="10" title="Template:Current year" />
      <page pageid="33" ns="10" title="Template:Distinguish" />
      <page pageid="1682" ns="10" title="Template:District colors" />
      <page pageid="1714" ns="10" title="Template:District emojis" />
    </pages>
  </query>
</api>