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="Dreamwidth_Scratch_Installation" />
  </query-continue>
  <query>
    <allredirects>
      <r ns="0" title="Bugzilla" />
      <r ns="0" title="Cap and flag documentation" />
      <r ns="0" title="Codepaths needing testing: Obsolete" />
      <r ns="0" title="Committing Guidelines" />
      <r ns="0" title="Contributor Licensing Agreement" />
      <r ns="0" title="Database Table Overview" />
      <r ns="0" title="Directory Structure" />
      <r ns="0" title="Dreamhack Getting Started" />
      <r ns="0" title="Dreamhack Troubleshooting" />
      <r ns="0" title="Dreamhacks" />
    </allredirects>
  </query>
</api>