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="Blogs" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="1535" ns="0" title="BJCP" />
      <p pageid="1551" ns="0" title="Baltic Porter" />
      <p pageid="1534" ns="0" title="Beer Judge Certification Program" />
      <p pageid="1436" ns="0" title="Beer Quotes" />
      <p pageid="1396" ns="0" title="Beer Styles" />
      <p pageid="1559" ns="0" title="Belgian Blond Ale" />
      <p pageid="1560" ns="0" title="Belgian Blonde Ale" />
      <p pageid="12077" ns="0" title="Berliner Weiss" />
      <p pageid="1550" ns="0" title="Berliner Weisse" />
      <p pageid="1549" ns="0" title="Biere de Garde" />
    </allpages>
  </query>
</api>