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>
    <querypage qpoffset="10" />
  </query-continue>
  <query>
    <querypage name="Ancientpages">
      <results>
        <page value="20100622102047" timestamp="2010-06-22T10:20:47Z" ns="0" title="Lahore Declaration" />
        <page value="20100623082258" timestamp="2010-06-23T08:22:58Z" ns="0" title="Main Page" />
        <page value="20100623104015" timestamp="2010-06-23T10:40:15Z" ns="0" title="Simla Agreement" />
        <page value="20100623105441" timestamp="2010-06-23T10:54:41Z" ns="0" title="Pervez Musharraf" />
        <page value="20100624044835" timestamp="2010-06-24T04:48:35Z" ns="0" title="V.K.Krishna Menon" />
        <page value="20100624045043" timestamp="2010-06-24T04:50:43Z" ns="0" title="Operation Cactus" />
        <page value="20100624045642" timestamp="2010-06-24T04:56:42Z" ns="0" title="P.N. Haksar" />
        <page value="20100624045811" timestamp="2010-06-24T04:58:11Z" ns="0" title="Nani Palkhivala" />
        <page value="20100624050035" timestamp="2010-06-24T05:00:35Z" ns="0" title="M.K. Narayanan" />
        <page value="20100624050232" timestamp="2010-06-24T05:02:32Z" ns="0" title="P.N. Dhar" />
      </results>
    </querypage>
  </query>
</api>