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="Hessian_Leib-Regiment" />
  </query-continue>
  <query>
    <allredirects>
      <r ns="0" title="Belgia Dragoons" />
      <r ns="0" title="Bellone (32)" />
      <r ns="0" title="Belozerskiy Infantry" />
      <r ns="0" title="Bothe Cavalry" />
      <r ns="0" title="Breidenbach Dragoons" />
      <r ns="0" title="Canitz Infantry" />
      <r ns="0" title="Chuguev Cossacks" />
      <r ns="0" title="Dachenhausen Dragoons" />
      <r ns="0" title="Gavriil (66)" />
      <r ns="0" title="Hampton Court (64)" />
    </allredirects>
  </query>
</api>