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>
    <pages>
      <page pageid="2518" ns="0" title="Main Page">
        <revisions>
          <rev user="Dan Tobias" comment="While it&#039;ll never be &quot;complete&quot;, it&#039;s more complete than before and a bit less &quot;under construction&quot;." />
        </revisions>
      </page>
    </pages>
    <general mainpage="Main Page" base="http://fileformats.archiveteam.org/wiki/Main_Page" sitename="Just Solve the File Format Problem" generator="MediaWiki 1.19.2" phpversion="5.4.7" phpsapi="apache2handler" dbtype="mysql" dbversion="5.5.28" case="first-letter" rights="Creative Commons 0" lang="en" fallback8bitEncoding="windows-1252" writeapi="" timezone="UTC" timeoffset="0" articlepath="/wiki/$1" scriptpath="" script="/index.php" variantarticlepath="" server="http://fileformats.archiveteam.org" wikiid="justsolve" time="2019-06-20T17:34:00Z">
      <fallback />
    </general>
  </query>
</api>