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="Page_Templates:Creating_a_Payment_Template" />
  </query-continue>
  <query>
    <allredirects>
      <r ns="0" title="Custom Fields" />
      <r ns="0" title="Functions:pageContentAttribStart/pageContentAttribEnd" />
      <r ns="0" title="Functions:pageMenuGet" />
      <r ns="0" title="Functions:pageZoneGet" />
      <r ns="0" title="P90x workout" />
      <r ns="0" title="Page Templates" />
      <r ns="0" title="Page Templates:Core Variables" />
      <r ns="0" title="Page Templates:Creating Your First Template" />
      <r ns="0" title="Page Templates:Creating a Billing Address Template" />
      <r ns="0" title="Page Templates:Creating a Confirmation Template" />
    </allredirects>
  </query>
</api>