You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allimages gaifrom="1069973 10151644570493283 335417157 n.jpg" />
  </query-continue>
  <query>
    <pages>
      <page pageid="7846" ns="6" title="File:--Category-Arms Images--.jpg">
        <duplicatefiles>
          <df name="2170.jpg" user="Kiltigern" timestamp="2017-08-22T21:15:31Z" />
        </duplicatefiles>
      </page>
      <page pageid="9070" ns="6" title="File:0302191555.jpg" />
      <page pageid="8432" ns="6" title="File:0531182209 HDR.jpg" />
      <page pageid="3004" ns="6" title="File:08 King Merowald.jpg" />
      <page pageid="3005" ns="6" title="File:08 Queen Gwendolyn.jpg" />
      <page pageid="8284" ns="6" title="File:0F390AAC-D7BC-4EDE-AE29-79641EE21EA6.jpeg" />
      <page pageid="10088" ns="6" title="File:1.jpg" />
      <page pageid="6678" ns="6" title="File:10153275 10203559109078887 1070779621232164031 n.jpg" />
      <page pageid="6679" ns="6" title="File:10334424 865715446788203 7395031383029701702 n.jpg" />
      <page pageid="10114" ns="6" title="File:10500494 10152134453666128 3789719708868757744 n.jpg" />
    </pages>
  </query>
</api>