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="D.P._Dhar" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="21" ns="0" title="B.M. Kaul" />
      <p pageid="19" ns="0" title="Bansi Lal" />
      <p pageid="60" ns="0" title="Bharatiya Janata Party" />
      <p pageid="20" ns="0" title="Bofors Scandal" />
      <p pageid="58" ns="0" title="Charan singh" />
      <p pageid="61" ns="0" title="Chinese Invasion of Tibet" />
      <p pageid="55" ns="0" title="Commonwealth of Nations" />
      <p pageid="96" ns="0" title="Communist Party of India" />
      <p pageid="24" ns="0" title="Comprehensive Economic Partnership for East Asia" />
      <p pageid="23" ns="0" title="Conference on Interaction and Confidence-Building Measures in Asia" />
    </allpages>
  </query>
</api>