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>
    <pages>
      <page pageid="902" ns="0" title="Main Page">
        <revisions>
          <rev user="Toprope" comment="moved [[Main Page]] to [[South African Climbing Wiki]]" />
        </revisions>
      </page>
    </pages>
    <general mainpage="South African Climbing Wiki" base="http://www.climbing.co.za/wiki/South_African_Climbing_Wiki" sitename=" South Africa Rock Climbing Routes Wiki" logo="http://www.climbing.co.za/images/climbza_bottom.png" generator="MediaWiki 1.23.2" phpversion="5.6.40-0+deb8u4" phpsapi="fpm-fcgi" dbtype="mysql" dbversion="5.5.5-10.1.40-MariaDB-1~jessie" imagewhitelistenabled="" langconversion="" titleconversion="" linkprefixcharset="" linkprefix="" linktrail="/^([a-z]+)(.*)$/sD" case="first-letter" lang="en" fallback8bitEncoding="windows-1252" writeapi="" timezone="Africa/Johannesburg" timeoffset="120" articlepath="/wiki/$1" scriptpath="/w" script="/w/index.php" server="http://www.climbing.co.za" wikiid="climbxmyjf_dbwiki-mw_" time="2019-06-24T10:08:35Z" maxuploadsize="104857600" favicon="http://www.climbing.co.za/favicon.ico">
      <fallback />
      <thumblimits>
        <limit>120</limit>
        <limit>150</limit>
        <limit>180</limit>
        <limit>200</limit>
        <limit>250</limit>
        <limit>300</limit>
      </thumblimits>
      <imagelimits>
        <limit width="320" height="240" />
        <limit width="640" height="480" />
        <limit width="800" height="600" />
        <limit width="1024" height="768" />
        <limit width="1280" height="1024" />
      </imagelimits>
    </general>
  </query>
</api>