You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <allpages>
      <p pageid="1755" ns="0" title="BBB" />
      <p pageid="2059" ns="0" title="BBW" />
      <p pageid="6234" ns="0" title="BBW and BHM" />
      <p pageid="936" ns="0" title="BDSM" />
      <p pageid="4486" ns="0" title="BDSMBooks" />
      <p pageid="7689" ns="0" title="BDSM 101" />
      <p pageid="7690" ns="0" title="BDSM Checklist" />
      <p pageid="1600" ns="0" title="BDSM Emblem" />
      <p pageid="1601" ns="0" title="BDSM Rights Flag" />
      <p pageid="4965" ns="0" title="BDSM Roles" />
    </allpages>
  </query>
  <query-continue>
    <allpages apfrom="BDSM and the law" />
  </query-continue>
</api>