You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <allcategories>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Calendar templates</c>
      <c size="2" pages="2" files="0" subcats="0" xml:space="preserve">Date-computing templates</c>
      <c size="2" pages="2" files="0" subcats="0" xml:space="preserve">Date mathematics templates</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Exclude in print</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">ISO language templates</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Internal link templates</c>
      <c size="4" pages="4" files="0" subcats="0" xml:space="preserve">Interwiki link templates</c>
      <c size="3" pages="3" files="0" subcats="0" xml:space="preserve">Main Page</c>
      <c size="1" pages="1" files="0" subcats="0" xml:space="preserve">Mathematical time and date function templates</c>
      <c size="3" pages="3" files="0" subcats="0" xml:space="preserve">Subtemplates of Template Encode</c>
    </allcategories>
  </query>
  <query-continue>
    <allcategories acfrom="Table and column templates" />
  </query-continue>
</api>