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 ns="0" title="Main Page" missing="" />
    </pages>
    <general mainpage="Portada" base="http://ferropedia.es/mediawiki/index.php/Portada" sitename="Ferropedia" generator="MediaWiki 1.18.0" phpversion="5.5.30" phpsapi="apache2handler" dbtype="mysql" dbversion="5.6.28" case="first-letter" rights="Creative Commons Reconocimiento Compartir Igual no comercial" lang="es" fallback8bitEncoding="windows-1252" readonly="" readonlyreason="Debido a tareas de mantenimiento, la Ferropedia se encuentra en modo lectura. Disculpen las moliestias" writeapi="" timezone="Europe/Madrid" timeoffset="120" articlepath="/mediawiki/index.php/$1" scriptpath="/mediawiki" script="/mediawiki/index.php" variantarticlepath="" server="http://ferropedia.es" wikiid="ferropedia-nueva" time="2019-08-17T10:56:36Z" />
  </query>
</api>