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="3DS_Homebrew_in_DownloadMii" />
  </query-continue>
  <query>
    <allcategories>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">3DS ARM11 Homebrew</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">3DS ARM9 Homebrew</c>
      <c size="11" pages="11" files="0" subcats="0" xml:space="preserve">3DS Flashcarts</c>
      <c size="88" pages="78" files="0" subcats="10" xml:space="preserve">3DS Homebrew</c>
      <c size="24" pages="0" files="24" subcats="0" xml:space="preserve">3DS Homebrew Icons</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">3DS Homebrew arcade games</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">3DS Homebrew board games</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">3DS Homebrew card games</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">3DS Homebrew console emulators</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">3DS Homebrew exploits</c>
    </allcategories>
  </query>
</api>