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>
    <allpages>
      <p pageid="159" ns="0" title="B" />
      <p pageid="313" ns="0" title="Baal" />
      <p pageid="314" ns="0" title="Babula" />
      <p pageid="315" ns="0" title="Bahai Faith" />
      <p pageid="318" ns="0" title="Bailey, Alice Ann Latrobe Bateman" />
      <p pageid="316" ns="0" title="Bamian Statues" />
      <p pageid="317" ns="0" title="Banyan Tree" />
      <p pageid="319" ns="0" title="Baptism" />
      <p pageid="320" ns="0" title="Bardo" />
      <p pageid="321" ns="0" title="Bardo Thodol" />
    </allpages>
  </query>
  <query-continue>
    <allpages apcontinue="Barhishad" />
  </query-continue>
</api>