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>
    <allpages gapcontinue="Resources_of_Annexea" />
  </query-continue>
  <query>
    <pages>
      <page pageid="2103" ns="0" title="Rehemat">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">Hadiya al-Durr
Amir ibn al-Tamemy
Kamalay bint Hashim

Iman-al-Haqi

Obv. a work in progress. Go away.</rev>
        </revisions>
      </page>
      <page pageid="3615" ns="0" title="Resdaynia">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">{{Navbox Myroria}}</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>