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>
    <redirects>
      <r from="Main Page" to="LEGO Wiki" />
    </redirects>
    <pages>
      <page pageid="1" ns="0" title="LEGO Wiki">
        <langlinks>
          <ll lang="de" xml:space="preserve">Lego Wiki</ll>
          <ll lang="es" xml:space="preserve">Lego Enciclopedia</ll>
          <ll lang="fi" xml:space="preserve">Etusivu</ll>
          <ll lang="fr" xml:space="preserve">Wiki LEGO</ll>
          <ll lang="ja" xml:space="preserve">Brickipedia</ll>
          <ll lang="nl" xml:space="preserve">Lego Wiki</ll>
          <ll lang="pl" xml:space="preserve">Legopedia</ll>
          <ll lang="pt" xml:space="preserve">Wiki Lego</ll>
          <ll lang="ru" xml:space="preserve">Legopedia</ll>
          <ll lang="zh" xml:space="preserve" />
        </langlinks>
      </page>
    </pages>
  </query>
</api>