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="Addingfuelcar.png" />
  </query-continue>
  <query>
    <pages>
      <page pageid="2334" ns="6" title="File:1200px-British Rail Class 43 at Chesterfield.jpg" />
      <page pageid="2968" ns="6" title="File:246x0w.jpg" />
      <page pageid="2973" ns="6" title="File:246x0w (1).jpg" />
      <page pageid="2974" ns="6" title="File:246x0w (2).jpg" />
      <page pageid="2970" ns="6" title="File:246x0w (3).jpg" />
      <page pageid="2587" ns="6" title="File:26!" />
      <page pageid="2156" ns="6" title="File:500 series Shinkansen train at Tokyo Station.jpg" />
      <page pageid="2972" ns="6" title="File:512x512bb.jpg" />
      <page pageid="2975" ns="6" title="File:512x512bb (1).jpg" />
      <page pageid="3142" ns="6" title="File:987FFF45-085C-4F63-BA72-FF2A46A095CE.png" />
    </pages>
  </query>
</api>