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="Rosalie_Janus|4426" />
  </query-continue>
  <query>
    <allredirects>
      <r ns="0" title="Behavior" />
      <r ns="0" title="Dark Kingdom" />
      <r ns="0" title="Disclaimer" />
      <r ns="0" title="Earth Court Frat House" />
      <r ns="0" title="Fate T. Waldia" />
      <r ns="0" title="List of Fictional Media" />
      <r ns="0" title="Mission Statement" />
      <r ns="0" title="Narumi Nendai" />
      <r ns="0" title="Not Much of a Legacy (Kyouko Sakura)" />
      <r ns="0" title="Puzzle Pieces (Takashi Agera)" />
    </allredirects>
  </query>
</api>