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="20090731172136" timestamp="2009-07-31T17:21:36Z" ns="0" title="Star Trek: The Next Generation - Birth of the Federation" />
        <page value="20090802045258" timestamp="2009-08-02T04:52:58Z" ns="0" title="Wormhole" />
        <page value="20090802050537" timestamp="2009-08-02T05:05:37Z" ns="0" title="Radio Pulsar" />
        <page value="20090802050742" timestamp="2009-08-02T05:07:42Z" ns="0" title="X-ray Pulsar" />
        <page value="20090806174316" timestamp="2009-08-06T17:43:16Z" ns="0" title="Neutron Star" />
        <page value="20090806174457" timestamp="2009-08-06T17:44:57Z" ns="0" title="Nebula" />
        <page value="20090806174555" timestamp="2009-08-06T17:45:55Z" ns="0" title="Black Hole" />
        <page value="20090810051557" timestamp="2009-08-10T05:15:57Z" ns="0" title="Scan Strength" />
        <page value="20100530035205" timestamp="2010-05-30T03:52:05Z" ns="0" title="Ship Type" />
        <page value="20100802183049" timestamp="2010-08-02T18:30:49Z" ns="0" title="Editing Savegames" />
      </results>
    </querypage>
  </query>
</api>