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="20140409185207" timestamp="2014-04-09T18:52:07Z" ns="0" title="Main Page" />
        <page value="20140409193103" timestamp="2014-04-09T19:31:03Z" ns="0" title="Elements of Magic" />
        <page value="20140410135052" timestamp="2014-04-10T13:50:52Z" ns="0" title="Official Spell Book" />
        <page value="20140410135809" timestamp="2014-04-10T13:58:09Z" ns="0" title="Magic Code" />
        <page value="20140410144232" timestamp="2014-04-10T14:42:32Z" ns="0" title="Halloween Spell" />
        <page value="20140410145044" timestamp="2014-04-10T14:50:44Z" ns="0" title="Ifnotenergyandifspellnotcastdo" />
        <page value="20150421231902" timestamp="2015-04-21T23:19:02Z" ns="0" title="Librarian" />
        <page value="20150424212839" timestamp="2015-04-24T21:28:39Z" ns="0" title="Magic Council" />
        <page value="20150603010155" timestamp="2015-06-03T01:01:55Z" ns="0" title="Ancient library" />
        <page value="20150604213029" timestamp="2015-06-04T21:30:29Z" ns="0" title="Robe colors" />
      </results>
    </querypage>
  </query>
</api>