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>
    <allpages apcontinue="BE_TA_Training_(Su17)" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="11081" ns="0" title="BEECH(F23)" />
      <p pageid="11085" ns="0" title="BEECH(F23):Build Communication Toolkit" />
      <p pageid="11084" ns="0" title="BEECH(F23):Build Community" />
      <p pageid="11083" ns="0" title="BEECH(F23):Build Knowledge" />
      <p pageid="11088" ns="0" title="BEECH(F23):Build Your Project" />
      <p pageid="11082" ns="0" title="BEECH(F23):People" />
      <p pageid="11089" ns="0" title="BEECH(F23): 2023-2024 schedule" />
      <p pageid="11076" ns="0" title="BEECH Main Page" />
      <p pageid="1325" ns="0" title="BE Classroom Computer Documentation" />
      <p pageid="7895" ns="0" title="BE TA Training(Su16):Homepage" />
    </allpages>
  </query>
</api>