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="Duke_of_Waverley" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="120" ns="0" title="Battle of Grafton" />
      <p pageid="216" ns="0" title="Calla Mothma" />
      <p pageid="214" ns="0" title="Danni Rahn" />
      <p pageid="213" ns="0" title="Dannica Rahn" />
      <p pageid="133" ns="0" title="Draal" />
      <p pageid="135" ns="0" title="Draal System" />
      <p pageid="136" ns="0" title="Draal research facility" />
      <p pageid="146" ns="0" title="Duke Silverfall" />
      <p pageid="64" ns="0" title="Duke Waverley" />
      <p pageid="71" ns="0" title="Duke of Silverfall" />
    </allpages>
  </query>
</api>