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="20140916014625" timestamp="2014-09-16T01:46:25Z" ns="0" title="OpenSM Logging" />
        <page value="20141028182309" timestamp="2014-10-28T18:23:09Z" ns="0" title="Overview of Error Counters" />
        <page value="20141112231225" timestamp="2014-11-12T23:12:25Z" ns="0" title="Basic Commands" />
        <page value="20141113004340" timestamp="2014-11-13T00:43:40Z" ns="0" title="Learning Infiniband" />
        <page value="20141113175927" timestamp="2014-11-13T17:59:27Z" ns="0" title="Inside an OFED distribution" />
        <page value="20150331200710" timestamp="2015-03-31T20:07:10Z" ns="0" title="User Tools Page" />
        <page value="20150401160945" timestamp="2015-04-01T16:09:45Z" ns="0" title="2015-03-30" />
        <page value="20190109171146" timestamp="2019-01-09T17:11:46Z" ns="0" title="Main Page" />
        <page value="20190109171801" timestamp="2019-01-09T17:18:01Z" ns="0" title="OSM PML" />
        <page value="20190109171844" timestamp="2019-01-09T17:18:44Z" ns="0" title="OSM ErrorMsg" />
      </results>
    </querypage>
  </query>
</api>