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>
    <allimages gaicontinue="Liverpool_and_Kendal_Stage_Coach_Advert_1768_Kings_Arms.jpg" />
  </query-continue>
  <query>
    <pages>
      <page pageid="268" ns="6" title="File:1-5 Kirkland The Old Ship Inn.jpg" />
      <page pageid="35" ns="6" title="File:37 Highgate Mason and Wilson.jpg" />
      <page pageid="274" ns="6" title="File:Camms Yard 89 Stricklandgate -An Old Kendal Yard.jpg" />
      <page pageid="199" ns="6" title="File:Dowker's Hospital Reduced Rules.jpg" />
      <page pageid="200" ns="6" title="File:Dowker's Hospital Stengal E16342.jpg" />
      <page pageid="165" ns="6" title="File:Finkle Street Old Pump Inn Fish Market JHHogg.png" />
      <page pageid="229" ns="6" title="File:Gillinggate Roods Terrace.jpg">
        <duplicatefiles>
          <df name="Roods_Terrace_Gillinggate.jpg" user="Robinsonj" timestamp="2020-08-22T01:41:14Z" />
        </duplicatefiles>
      </page>
      <page pageid="166" ns="6" title="File:Greenside.png" />
      <page pageid="299" ns="6" title="File:James-Kerr-Murray-Ironmonger-Advert-53-Stricklandgate.jpg" />
      <page pageid="64" ns="6" title="File:Kirkland Yard 23 Curwen1900.png" />
    </pages>
  </query>
</api>