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="Buildings" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="1670" ns="0" title="Beginner Investing For Forex Trading 18" />
      <p pageid="1674" ns="0" title="Beginner Investing For Forex Trading 25" />
      <p pageid="1667" ns="0" title="Beginner Investing For Forex Trading 41" />
      <p pageid="1668" ns="0" title="Beginner Investing For Forex Trading 44" />
      <p pageid="1672" ns="0" title="Beginner Investing For Forex Trading 95" />
      <p pageid="1669" ns="0" title="Beginner Investing For Forex Trading 98" />
      <p pageid="1310" ns="0" title="Birger Magnusson" />
      <p pageid="2438" ns="0" title="Birthday" />
      <p pageid="1914" ns="0" title="Bonusa juniti" />
      <p pageid="2518" ns="0" title="Bonuses of Landscape" />
    </allpages>
  </query>
</api>