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>
    <allredirects garcontinue="Ресурсное_месторождение" />
  </query-continue>
  <query>
    <pages>
      <page pageid="2445" ns="0" title="Kinds of cities" />
      <page pageid="2462" ns="0" title="Mercenaries Camps" />
      <page pageid="2460" ns="0" title="Nanban Artifacts" />
      <page pageid="2474" ns="0" title="Temporary locations" />
      <page pageid="7" ns="0" title="Артефакты" />
      <page pageid="788" ns="0" title="Варвар NPC" />
      <page pageid="5" ns="0" title="Виды городов" />
      <page pageid="460" ns="0" title="Кладовая" />
      <page pageid="1832" ns="0" title="Мораль Охотника" />
      <page pageid="1635" ns="0" title="Очищено" />
    </pages>
  </query>
</api>