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="Hyperbolic_Tessellations" />
  </query-continue>
  <query>
    <allcategories>
      <c size="6" pages="6" files="0" subcats="0" xml:space="preserve">Art and Perception Explorations</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Duccio</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Egyptian Mathematics Exploration</c>
      <c size="4" pages="4" files="0" subcats="0" xml:space="preserve">Egyptian Mathematics Explorations</c>
      <c size="164" pages="164" files="0" subcats="0" xml:space="preserve">Escher Artwork</c>
      <c size="11" pages="11" files="0" subcats="0" xml:space="preserve">Exercises</c>
      <c size="99" pages="92" files="0" subcats="7" xml:space="preserve">Exploration</c>
      <c size="0" pages="0" files="0" subcats="0" xml:space="preserve">Explorations</c>
      <c size="5" pages="5" files="0" subcats="0" xml:space="preserve">Fieldtrip</c>
      <c size="10" pages="10" files="0" subcats="0" xml:space="preserve">High School</c>
    </allcategories>
  </query>
</api>