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>
    <allcategories accontinue="Testing" />
  </query-continue>
  <query>
    <allcategories>
      <c size="42" pages="42" files="0" subcats="0" xml:space="preserve">Completed feature pages</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Debugging</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Delete</c>
      <c size="7" pages="7" files="0" subcats="0" xml:space="preserve">Developer documentation</c>
      <c size="5" pages="5" files="0" subcats="0" xml:space="preserve">Feature pages for new boards</c>
      <c size="8" pages="8" files="0" subcats="0" xml:space="preserve">GSoC</c>
      <c size="45" pages="45" files="0" subcats="0" xml:space="preserve">Obsolete feature pages</c>
      <c size="6" pages="6" files="0" subcats="0" xml:space="preserve">Outreachy</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Pages with broken file links</c>
      <c size="3" pages="3" files="0" subcats="0" xml:space="preserve">Template</c>
    </allcategories>
  </query>
</api>