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="Countryside" />
  </query-continue>
  <query>
    <allcategories>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">' .. error category .. '</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">' .. v ..'</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">All pages needing cleanup</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Articles which use embedded infobox templates with the title parameter</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Articles which use infobox templates with no data rows</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Articles with ' .. name .. '-language external links</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Book templates</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Citation Style 1 templates</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Citation Style 2 templates</c>
      <c size="4" pages="4" files="0" subcats="0" xml:space="preserve">Country data redirects</c>
    </allcategories>
  </query>
</api>