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>
    <allredirects arcontinue="TDT4110_Informasjonsteknologi_grunnkurs" />
  </query-continue>
  <query>
    <allredirects>
      <r ns="0" title="EXPH0001 Filosofi og vitenskapsteori" />
      <r ns="0" title="FY3402 Subatomær Fysikk" />
      <r ns="0" title="Forside" />
      <r ns="0" title="Griffiths: Introduction to Electrodynamics" />
      <r ns="0" title="Hovedside/Fremhevet artikkel" />
      <r ns="0" title="Owren: Numerisk løsning av partielle differensialligninger med differensemetoder" />
      <r ns="0" title="PWN1337 Foo bar" />
      <r ns="0" title="RWTH Aachen" />
      <r ns="0" title="TDT4100 Objektorientert programmering" />
      <r ns="0" title="TDT4105 Informasjonsteknologi grunnkurs" />
    </allredirects>
  </query>
</api>